@sodazone/ocelloids-client - v3.0.0
    Preparing search index...

    Interface SseHandler<L>

    SSE event handlers

    interface SseHandler<L = SseListener> {
        listeners: L[];
        onError?: (error: Event | Error) => void;
        onOpen?: (event: Event) => void;
    }

    Type Parameters

    Index

    Properties

    listeners: L[]
    onError?: (error: Event | Error) => void
    onOpen?: (event: Event) => void