IEventBusModuleService
admin/discounts.internal.IEventBusModuleService
Implemented by
Methods
emit
emit<T
>(eventName
, data
, options?
): Promise
<void
>
T
objectRequiredParameters
eventName
stringRequireddata
TRequiredoptions
Record<string, unknown>Returns
Promise
<void
>
Promise
Promise<void>Requiredemit<T
>(data
): Promise
<void
>
T
objectRequiredParameters
Returns
Promise
<void
>
Promise
Promise<void>Requiredsubscribe
subscribe(eventName
, subscriber
, context?
): IEventBusModuleService
Parameters
Returns
unsubscribe
unsubscribe(eventName
, subscriber
, context?
): IEventBusModuleService
Parameters
Returns
Was this section helpful?