Kind: global class
Extends: EventEmitter
- ABService ⇐
EventEmitter
Define a common AppBuilder Service class for use in our micro services.
Param | Type | Default |
---|---|---|
options | obj |
|
[options.name] | string |
"ABService" |
ready Send a 'ready' signal on this process. Useful for service managers (like pm2) to know the process is ready.
Kind: instance method of ABService
run the operation of the Service. It will be run after the .startup() routine is completed.
Kind: instance method of ABService
shutdown the process a service should perform to gracefully shutdown.
Kind: instance method of ABService
startup the process a service should perform to startup.
Kind: instance method of ABService