Skip to main content
Skip to main content

Subscriber

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

Type parameters

TobjectRequired

Type declaration

(data, eventName): Promise<void>

Parameters
dataTRequired
eventNamestringRequired
Returns

Promise<void>

PromisePromise<void>Required
Was this section helpful?