Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.48 KB

ABService.md

File metadata and controls

54 lines (39 loc) · 1.48 KB

ABService ⇐ EventEmitter

Kind: global class
Extends: EventEmitter

new ABService(options)

Define a common AppBuilder Service class for use in our micro services.

Param Type Default
options obj
[options.name] string "ABService"

abService.ready()

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

abService.run()

run the operation of the Service. It will be run after the .startup() routine is completed.

Kind: instance method of ABService

abService.shutdown()

shutdown the process a service should perform to gracefully shutdown.

Kind: instance method of ABService

abService.startup()

startup the process a service should perform to startup.

Kind: instance method of ABService