Sanity Library Reference Docs
    Preparing search index...

    Type Alias DurableDurationBeta

    DurableDuration:
        | { days: number; hours?: number; minutes?: number; seconds?: number }
        | { hours: number; minutes?: number; seconds?: number }
        | { minutes: number; seconds?: number }
        | { seconds: number }

    The signature of the duration object passed to wait, waitForCondition and waitForCallback methods. It is also used when specifying the retry.delay of durable steps. It can be specified in days, hours, minutes, or seconds. Using durables is considered experimental and may change in the future.