Rezi
    Preparing search index...

    Type Alias UseEventSourceOptions<T>

    UseEventSourceOptions: Readonly<
        {
            enabled?: boolean;
            eventType?: string;
            factory?: EventSourceFactory;
            parse?: (message: UseEventSourceMessage) => T;
            reconnectMs?: number;
            withCredentials?: boolean;
        },
    >

    Options for useEventSource.

    Type Parameters

    • T