NodeJS v1.1.0 NodeJS.Supervisor View Source
NodeJS.Supervisor
Link to this section 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
Link to this section Functions
Link to this function
call(module, args \\ [], opts \\ []) View Source
Link to this function
call!(module, args \\ [], opts \\ []) View Source
Link to this function
child_spec(init_arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor.
Link to this function
start_link(opts \\ []) View Source
Starts the Node.js supervisor and workers.
Options
:path- (required) The path to your Node.js code's root directory.:pool_size- (optional) The number of workers. Defaults to 4.
Link to this function
stop()
View Source
stop()
View Source
stop() :: :ok
stop() :: :ok
Stops the Supervisor and underlying node service