Type Alias IWriterLockExpirationData

IWriterLockExpirationData: { expiration: Date | null }

Expiration tracking for a writer (exclusive) lock. Contains the date and time when the lock expires.

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

Type declaration

  • expiration: Date | null

    The expiration date and time of the writer lock. Null indicates the lock does not expire and is held indefinitely. After this time, the lock is released automatically.