Skip to content

conduitNotificationHandler

1
function conduitNotificationHandler(this: WebhookShard | WebSocketShard, payload: BasePayload<SubscriptionTypes>): Promise<void>

Handles a subscription notification from the conduit.

Parameters

ParameterTypeDescription
thisWebhookShard | WebSocketShard-
payloadBasePayload<SubscriptionTypes>The payload of the notification.

Returns

Promise<void>

Source

twitchfy/packages/eventsub/src/util/conduitNotificationHandler.ts:12