Subscribe to an event.
| Name | Type | Description |
|---|---|---|
| eventId | string |
the event ID. |
| handler | function |
the callback function. |
functionSubscription 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. |
functionSubscription 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. |
arrayEvent handlers.
Unsubscribe an event.
| Name | Type | Description |
|---|---|---|
| eventId | string |
the event ID. |
Get interceptors.
arrayInterceptors.
Get events.
arrayEvents.
Get all events and interceptors.
objectEvents.