Skip to main content
Skip to main content

Subscriber

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

Type parameters

TobjectRequired

Type declaration

(data, eventName): Promise&#60;void&#62;

Parameters
dataTRequired
eventNamestringRequired
Returns

Promise<void>

PromisePromise<void>Required
Was this section helpful?