View Source NodeJS.Supervisor (NodeJS v3.1.0)
NodeJS.Supervisor
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts the Node.js supervisor and workers.
Stops the Supervisor and underlying node service
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Starts the Node.js supervisor and workers.
Options
:name
- (optional) The name used for supervisor registration. Defaults to Elixir.NodeJS.Supervisor.:path
- (required) The path to your Node.js code's root directory.:pool_size
- (optional) The number of workers. Defaults to 4.
@spec stop() :: :ok
Stops the Supervisor and underlying node service