AbstractEventBusModuleService
Implements
Properties
Accessors
eventToSubscribersMap
Returns
Methods
emit
Abstract **emit**<TypeParameter T>(eventName, data, options): Promise<void>
Parameters
eventName
stringRequireddata
TRequiredoptions
Record<string, unknown>RequiredReturns
Promise
Promise<void>RequiredAbstract **emit**<TypeParameter T>(data): Promise<void>
Parameters
Returns
Promise
Promise<void>RequiredstoreSubscribers
Parameters
__namedParameters
objectRequired__namedParameters.event
string | symbolRequired__namedParameters.subscriberId
stringRequiredReturns
void
voidsubscribe
Parameters
Returns
unsubscribe
Parameters
eventName
string | symbolRequiredReturns
Was this section helpful?