new Daemon(app, config, logger)
Create the module
Parameters:
| Name | Type | Description |
|---|---|---|
app |
App | The application |
config |
object | Configuration |
logger |
Logger | Logger service |
Members
-
<static> provides :string
-
Service name is 'modules.daemon'
Type:
- string
-
<static> requires :Array.<string>
-
Dependencies as constructor arguments
Type:
- Array.<string>
Methods
-
<async> register(server)
-
Register with the server
Parameters:
Name Type Description serverobject Server instance Returns:
- Type
- Promise