IEventBusService
Methods
emit
**emit**<TypeParameter T>(event, data, options?): Promise<unknown>
T
objectRequiredParameters
event
stringRequireddata
TRequiredoptions
unknownReturns
Promise<unknown>
Promise
Promise<unknown>Requiredsubscribe
**subscribe**(eventName, subscriber, context?): [IEventBusService](/references/services/interfaces/IEventBusService)
Parameters
Returns
unsubscribe
**unsubscribe**(eventName, subscriber, context?): [IEventBusService](/references/services/interfaces/IEventBusService)
Parameters
Returns
withTransaction
**withTransaction**(transactionManager?): [IEventBusService](/references/services/interfaces/IEventBusService)
Parameters
transactionManager
EntityManagerReturns
Was this section helpful?