Abstract
Optional
loadWhat order should this Initializer load at (Default: 1000, Actionhero core methods are < 1000)
The name of the Initializer.
Optional
startWhat order should this Initializer start at (Default: 1000, Actionhero core methods are < 1000)
Optional
stopWhat order should this Initializer stop at (Default: 1000, Actionhero core methods are < 1000)
Optional
initializeMethod run as part of the initialize
lifecycle of your server. Usually sets api['YourNamespace']
Optional
startMethod run as part of the start
lifecycle of your server. Usually connects to remote servers or processes..
Optional
stopMethod run as part of the initialize
lifecycle of your server. Usually disconnects from remote servers or processes.
Create a new Actionhero Initializer. The required properties of an initializer. These can be defined statically (this.name) or as methods which return a value.