Setu-TS
    Preparing search index...

    Interface IDurableObjectStorage

    The subset of DurableObjectStorage the lock object uses.

    Persisted rather than in-memory because a Durable Object is evicted after 70–140 seconds of inactivity when it cannot hibernate, and a lock TTL routinely outlives that — a deadline held in a field would evaporate and hand the same lock to a second holder.

    0.2.0

    interface IDurableObjectStorage {
        delete(key: string): Promise<boolean>;
        get<T>(key: string): Promise<T | undefined>;
        put<T>(key: string, value: T): Promise<void>;
    }
    Index