notificationHandler
Handles a subscription notification in a connection excluding the conduit.
Parameters
Parameter | Type | Description |
---|---|---|
connection | WebhookConnection | WebSocketConnection | The connection to handle the notification in. |
payload | BasePayload <SubscriptionTypes > | The payload of the notification. |
Returns
Promise
<void
>
Source
twitchfy/packages/eventsub/src/util/notificationHandler.ts:13