SubscriptionCallback
The callback for a subscription.
Type parameters
Type parameter | Value |
---|---|
T extends SubscriptionTypes | - |
K extends ConnectionTypes | ConnectionTypes |
Parameters
Parameter | Type |
---|---|
message | SubscriptionMessages <K >[T ] |
Returns
any
| Promise
<any
>
Source
twitchfy/packages/eventsub/src/types/SubscriptionCallback.ts:10