WSEvent<T>: {
    data?: T;
    stream: string;
}

Event type of WS streams

Type Parameters

  • T

Type declaration

  • Optional data?: T

    Event payload

  • stream: string

    Name of the event

Generated using TypeDoc