Module: caf_components/supervisor

Default implementation of a supervisor.

It uses the lazy start mode. See module:caf_components/gen_supervisor#__ca_start__ for details.

Source:

Extends

Methods

(static) newInstance($, spec, cb)

Factory method to create a supervisor component.

Parameters:
Name Type Description
$ ctxType

A context containing references to other components.

spec specType

Configuration data for this component.

cb cbType

A standard node.js callback returning an error or the new component.

Source: