conduitNotificationHandler
1function conduitNotificationHandler(this: WebhookShard | WebSocketShard, payload: BasePayload<SubscriptionTypes>): Promise<void>Handles a subscription notification from the conduit.
Parameters
| Parameter | Type | Description |
|---|---|---|
this | WebhookShard | WebSocketShard | - |
payload | BasePayload<SubscriptionTypes> | The payload of the notification. |
Returns
Promise<void>
Source
twitchfy/packages/eventsub/src/util/conduitNotificationHandler.ts:12