Subscriber
Subscriber<T
>: (data
: T
, eventName
: string
) => Promise
<void
>
Type parameters
T
objectRequiredType declaration
(data
, eventName
): Promise
<void
>
Parameters
data
TRequiredeventName
stringRequiredReturns
Promise
<void
>
Promise
Promise<void>RequiredWas this section helpful?