sveltekit-eventsource - v1.0.0
    Preparing search index...

    Type Alias EventSourceEventMap

    Lifecycle events emitted by EventSource.unsafe.events.

    type EventSourceEventMap = {
        close: [];
        open: [];
        ping: [];
    }
    Index

    Properties

    Properties

    close: []

    Emitted when the SSE stream is cancelled/closed by the client.

    open: []

    Emitted when the SSE stream starts.

    ping: []

    Emitted every time a keep-alive ping comment is written.