IEventBusModuleService
Methods
emit
**emit**<TypeParameter T>(eventName, data, options?): Promise<void>
T
objectRequiredParameters
eventName
stringRequireddata
TRequiredoptions
Record<string, unknown>Returns
Promise<void>
Promise
Promise<void>Required**emit**<TypeParameter T>(data): Promise<void>
T
objectRequiredParameters
Returns
Promise<void>
Promise
Promise<void>Requiredsubscribe
**subscribe**(eventName, subscriber, context?): [IEventBusModuleService](/references/services/interfaces/IEventBusModuleService)
Parameters
Returns
unsubscribe
**unsubscribe**(eventName, subscriber, context?): [IEventBusModuleService](/references/services/interfaces/IEventBusModuleService)
Parameters
Returns
Was this section helpful?