WebSocketSubscriptionCallback
The callback for a WebSocketSubscription.
Type parameters
Type parameter |
---|
T extends SubscriptionTypes |
Parameters
Parameter | Type |
---|---|
message | SubscriptionMessages <WebSocketConnection >[T ] |
Returns
any
| Promise
<any
>
Source
twitchfy/packages/eventsub/src/ws/types/WebSocketSubscriptionCallback.ts:10