Subscribe to an event.
Name | Type | Description |
---|---|---|
eventId | string |
the event ID. |
handler | function |
the callback function. |
function
Subscription destroyer.
Subcribe an evento to be executed only once (gets self-destroyed after execution).
Name | Type | Description |
---|---|---|
eventId | string |
the event ID. |
handler | function |
the callback function. |
function
Subscription destroyer.
Emit an event.
Name | Type | Description |
---|---|---|
eventId | string |
the event ID. |
params | object |
handler params. |
List an event's handlers.
Name | Type | Description |
---|---|---|
eventId | string |
the event ID. |
array
Event handlers.
Unsubscribe an event.
Name | Type | Description |
---|---|---|
eventId | string |
the event ID. |
Get interceptors.
array
Interceptors.
Get events.
array
Events.
Get all events and interceptors.
object
Events.