MCPcopy
hub / github.com/robtaussig/react-use-websocket / SocketIOMessageData

Interface SocketIOMessageData

src/lib/use-socket-io.ts:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import { Options, WebSocketHook } from './types';
5
6export interface SocketIOMessageData {
7 type: string,
8 payload: any,
9}
10
11const emptyEvent: SocketIOMessageData = {
12 type: 'empty',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…