chore(docs): Generated JS Client Reference (#5334)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
378ca1b36e
commit
daea35fe73
@@ -0,0 +1,105 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Interface: IEventBusModuleService
|
||||
|
||||
[internal](../modules/internal-8.md).IEventBusModuleService
|
||||
|
||||
## Implemented by
|
||||
|
||||
- [`AbstractEventBusModuleService`](../classes/internal-8.AbstractEventBusModuleService.md)
|
||||
|
||||
## Methods
|
||||
|
||||
### emit
|
||||
|
||||
▸ **emit**<`T`\>(`eventName`, `data`, `options?`): `Promise`<`void`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `eventName` | `string` |
|
||||
| `data` | `T` |
|
||||
| `options?` | [`Record`](../modules/internal.md#record)<`string`, `unknown`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`void`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/types/dist/event-bus/event-bus-module.d.ts:3
|
||||
|
||||
▸ **emit**<`T`\>(`data`): `Promise`<`void`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `data` | [`EmitData`](../modules/internal-8.md#emitdata)<`T`\>[] |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`void`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/types/dist/event-bus/event-bus-module.d.ts:4
|
||||
|
||||
___
|
||||
|
||||
### subscribe
|
||||
|
||||
▸ **subscribe**(`eventName`, `subscriber`, `context?`): [`IEventBusModuleService`](internal-8.IEventBusModuleService.md)
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `eventName` | `string` \| `symbol` |
|
||||
| `subscriber` | [`Subscriber`](../modules/internal-8.md#subscriber) |
|
||||
| `context?` | [`SubscriberContext`](../modules/internal-8.md#subscribercontext) |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`IEventBusModuleService`](internal-8.IEventBusModuleService.md)
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/types/dist/event-bus/event-bus-module.d.ts:5
|
||||
|
||||
___
|
||||
|
||||
### unsubscribe
|
||||
|
||||
▸ **unsubscribe**(`eventName`, `subscriber`, `context?`): [`IEventBusModuleService`](internal-8.IEventBusModuleService.md)
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `eventName` | `string` \| `symbol` |
|
||||
| `subscriber` | [`Subscriber`](../modules/internal-8.md#subscriber) |
|
||||
| `context?` | [`SubscriberContext`](../modules/internal-8.md#subscribercontext) |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`IEventBusModuleService`](internal-8.IEventBusModuleService.md)
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/types/dist/event-bus/event-bus-module.d.ts:6
|
||||
Reference in New Issue
Block a user