Skip to main content
Skip to main content

Subscriber

Subscriber<T>: (data: T, eventName: string) => Promise<void>

Type parameters

TobjectRequired

Type declaration

Parameters
dataTRequired
eventNamestringRequired
Returns
PromisePromise<void>Required
Was this section helpful?