Search...
export declare type WorkerSendPayload = {
    op: WorkerSendPayloadOp.Connect;
    shardId: number;
} | {
    op: WorkerSendPayloadOp.Destroy;
    shardId: number;
    options?: WebSocketShardDestroyOptions;
} | {
    op: WorkerSendPayloadOp.Send;
    shardId: number;
    payload: GatewaySendPayload;
} | {
    op: WorkerSendPayloadOp.SessionInfoResponse;
    nonce: number;
    session: SessionInfo | null;
};
export declare type WorkerSendPayload = {
    op: WorkerSendPayloadOp.Connect;
    shardId: number;
} | {
    op: WorkerSendPayloadOp.Destroy;
    shardId: number;
    options?: WebSocketShardDestroyOptions;
} | {
    op: WorkerSendPayloadOp.Send;
    shardId: number;
    payload: GatewaySendPayload;
} | {
    op: WorkerSendPayloadOp.SessionInfoResponse;
    nonce: number;
    session: SessionInfo | null;
};

No summary provided.