Type alias WorkerSendPayload

WorkerSendPayload: {
    nonce: number;
    ok: boolean;
    op: ShardIdentifyResponse;
} | {
    nonce: number;
    op: FetchStatus;
    shardId: number;
} | {
    nonce: number;
    op: SessionInfoResponse;
    session: SessionInfo | null;
} | {
    op: Connect;
    shardId: number;
} | {
    op: Destroy;
    options?: WebSocketShardDestroyOptions;
    shardId: number;
} | {
    op: Send;
    payload: GatewaySendPayload;
    shardId: number;
}

Type declaration

Type declaration

Type declaration

Type declaration

Type declaration

Type declaration

  • op: Send
  • payload: GatewaySendPayload
  • shardId: number

Generated using TypeDoc