Sanity App SDK
    Preparing search index...

    Type Alias ValuePending<T>

    Represents the current state of a preview value along with a flag indicating whether the preview data is still being fetched or is fully resolved.

    The tuple contains a preview value or null, and a boolean indicating if the data is pending. A true value means a fetch is ongoing; false indicates that the currently provided preview value is up-to-date.

    type ValuePending<T> = {
        data: T | null;
        isPending: boolean;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    data: T | null
    isPending: boolean