Setu-TS
    Preparing search index...

    Interface DurableObjectLockOptions

    Options for DurableObjectLock.

    0.2.0

    interface DurableObjectLockOptions {
        binding?: string;
        keyPrefix?: string;
        runtime: IRuntimeServices;
    }
    Index
    binding?: string

    The Durable Object binding name, used only in error messages.

    'the durable object'
    
    keyPrefix?: string

    Prefix applied to every lock key before deriving the object name.

    Namespaces this application's locks so a shared Durable Object namespace does not collide with another application's key of the same name.

    ''
    

    Runtime services, for minting the lock token.

    Required rather than defaulted: a token must come from runtime.uuid() per AI_GUIDELINES §4.2, and unlike the Durable Object side, this side does have a plugin context to take one from.