Skip to main content
Skip to main content

Subscriber

Subscriber: (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?