Leaf
class
Created by calling .on() method on the service trunk or any service branch.
Methods
cope(...handlers)
Returns this leaf
Adds error handlers to this leaf.
handlers function or object
See Handlers guide.
use(...handlers)
Returns this leaf
Adds plugin handlers to this leaf.
handlers function or object
See Handlers guide.
waitFor(...setup)
Returns this leaf
A hook for asynchronous setup tasks. The service won't be started until all asynchronous setup is complete.
- setup promise