Sanity Library Reference Docs
    Preparing search index...
    SanityLiveOnReconnect: (
        event: Extract<LiveEvent, { type: "reconnect" }>,
        context: SanityLiveContext,
    ) => void | Promise<void>

    Handles the Live Content API reconnect event.

    The default behavior just logs the event, as it will eventually result in a welcome or error event.

    Type declaration