Type Alias IReaderSemaphoreSlotExpirationData

IReaderSemaphoreSlotExpirationData: { expiration: Date | null }

Expiration tracking for a reader (shared) semaphore slot. Contains the date and time when the reader slot expires.

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

Type declaration

  • expiration: Date | null

    The expiration date and time of the reader semaphore slot. Null indicates the slot does not expire automatically. After this time, the slot is released and the reader count decrements.