Skip to content

five-on-it / apps/server/src/rtc-wire / isBatch

Function: isBatch() ​

isBatch<C>(message): message is RtcBatch<C>

Defined in: apps/server/src/rtc-wire.ts:160

Whether a worker's message is one of ours (and not, under node --watch, its report of the modules it loaded).

Type Parameters ​

C ​

C

Parameters ​

message ​

unknown

Returns ​

message is RtcBatch<C>