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