handleShardMessage
Handles a shard message received by the parent process.
Parameters
Parameter | Type | Description |
---|---|---|
this | object | - |
this.conduit | Conduit | - |
this.resolve | () => void | - |
this.worker | Worker | - |
message | ShardMessages | The message to handle. |
Returns
Promise
<void
>
Source
twitchfy/packages/eventsub/src/util/handleShardMessage.ts:15