Sanity Library Reference Docs
    Preparing search index...

    Structural mirror of the resolveConsent/sendEvents pair in @sanity/telemetry's CreateBatchedStoreOptions — assignable to it verbatim.

    interface TelemetryIntake {
        resolveConsent: () => Promise<{ status: TelemetryConsentStatus }>;
        sendEvents: (batch: unknown[]) => Promise<unknown>;
    }
    Index

    Properties

    resolveConsent: () => Promise<{ status: TelemetryConsentStatus }>
    sendEvents: (batch: unknown[]) => Promise<unknown>