ComponentRemote(app, opts)

new ComponentRemote(app, opts)

Remote component class
Parameters:
Name Type Description
app Object current application context
opts Object construct parameters
Implements:

Methods

start(cb) → {Void}

Remote component lifecycle function
Parameters:
Name Type Description
cb function
Returns:
Void
Implements:

stop(force, cb) → {Void}

Remote component lifecycle function
Parameters:
Name Type Description
force Boolean whether stop the component immediately
cb function
Returns:
Void
Implements: