Type Alias IReaderSemaphoreData

IReaderSemaphoreData: { limit: number }

Reader semaphore configuration persisted in the database. Defines the maximum number of concurrent readers allowed.

In shared lock patterns:

  • Multiple readers can hold the lock simultaneously (up to limit)
  • Only one writer can hold the lock exclusively (no readers allowed)

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

Type declaration

  • limit: number

    Maximum number of concurrent reader slots available. Controls how many readers can access the resource simultaneously.