type WorkerRecievePayload = {
data: any;
event: WebSocketShardEvents;
op: WorkerRecievePayloadOp.Event;
shardId: number;
} | {
nonce: number;
op: WorkerRecievePayloadOp.RetrieveSessionInfo;
shardId: number;
} | {
op: WorkerRecievePayloadOp.Connected;
shardId: number;
} | {
op: WorkerRecievePayloadOp.Destroyed;
shardId: number;
} | {
op: WorkerRecievePayloadOp.UpdateSessionInfo;
session: SessionInfo | null;
shardId: number;
};