Leverage's manager is the foundation on which any application is built. All Leverage units are given to the manager in order to compose them.
The manager's public interface is rather small. In most cases, you will only need to use its add() method.
add()
new Manager(): manager
Returns a new instance of Manager.
Manager
manager.add(Unit): void
Add a Unit to the manager. Unit can be any valid Leverage unit.
Unit
manager.addPlugin(Plugin): void
Add a Plugin to the manager.
Plugin
manager.addService(Service): void
Add a Service to the manager.
Service
manager.addComponent(Component): void
Add a Component to the manager.
Component
manager.addMiddleware(Middleware): void
Add a Middleware to the manager.
Middleware
There was an error while loading. Please reload this page.