Type Alias ISemaphoreSlotExpirationData

ISemaphoreSlotExpirationData: { expiration: Date | null }

Expiration configuration for a single semaphore slot. Tracks when a slot becomes available again (expires). Null expiration means the slot never expires automatically.

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

Type declaration

  • expiration: Date | null

    The expiration date and time of the slot. After this time, the slot is automatically released and becomes available for reuse. Null indicates the slot does not expire (persists until explicitly removed).