Sanity Library Reference Docs
    Preparing search index...

    Context passed to Sanity Live event handlers.

    interface SanityLiveContext {
        includeDrafts: boolean;
        waitFor: "function" | undefined;
    }
    Index

    Properties

    includeDrafts: boolean

    Whether the current <SanityLive /> connection includes draft and content release version events.

    waitFor: "function" | undefined

    Whether the current <SanityLive /> connection is waiting for a Sanity Function to process the live events.