Type Alias ILockUnavailableState

ILockUnavailableState: { owner: string; type: typeof LOCK_STATE["UNAVAILABLE"] }

Represents a lock that is currently held by a different owner. The requesting entity cannot acquire this lock until the owner releases it or it expires.

IMPORT_PATH: "@daiso-tech/core/lock/contracts"

Type declaration

  • owner: string

    The unique identifier of the entity currently holding the lock.

  • type: typeof LOCK_STATE["UNAVAILABLE"]

    The state type indicator.