yaschema-ws-api-client
    Preparing search index...

    Type Alias WsApiMessageReceiptHandler<RequestCommandsT, QueryT>

    WsApiMessageReceiptHandler: (
        args: {
            message: any;
            output: WsApiRequestors<RequestCommandsT>;
            query: QueryT;
            ws: WebSocket;
        },
    ) => Promise<void>

    Type Parameters

    • RequestCommandsT extends AnyCommands
    • QueryT extends AnyQuery

    Type declaration