couch-kit
    Preparing search index...

    Type Alias WebSocketServerEvents

    Event map for type-safe event emission.

    type WebSocketServerEvents = {
        connection: [socketId: string];
        disconnect: [socketId: string];
        error: [error: Error];
        listening: [port: number];
        message: [socketId: string, message: unknown];
    }
    Index
    connection: [socketId: string]
    disconnect: [socketId: string]
    error: [error: Error]
    listening: [port: number]
    message: [socketId: string, message: unknown]