UNPKG

@tygr/socket

Version:

Use websockets to extend redux functionality to server code

12 lines (9 loc) 291 B
import { Action } from '@tygr/core'; export abstract class ClientToServerAction implements Action { abstract readonly type: string; sessionId?: string; } export abstract class ServerToClientAction implements Action { abstract readonly type: string; public sessionIds?: string[]; }