Methods
registerSignal(signalInstance, callbackopt) → {Promise}
Register a Signal instance, to send and receive events.
Parameters:
Name | Type | Attributes | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
signalInstance |
Signal
|
|||||||||||
callback |
function
|
<optional> |
|
Returns:
- Type:
-
Promise
unregisterSignal(signalInstance, callbackopt) → {Promise}
Unregister a Signal instance, to send and receive events.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
signalInstance |
Signal
|
||
callback |
genericCallbackFunction
|
<optional> |
Returns:
- Type:
-
Promise