Skip to content

handleShardMessage

1
function handleShardMessage(this: object, message: ShardMessages): Promise<void>

Handles a shard message received by the parent process.

Parameters

ParameterTypeDescription
thisobject-
this.conduitConduit-
this.resolve() => void-
this.workerWorker-
messageShardMessagesThe message to handle.

Returns

Promise<void>

Source

twitchfy/packages/eventsub/src/util/handleShardMessage.ts:15