OptionalenableTransactions?: booleanOptionalexpiredKeysRemovalInterval?: ITimeSpanThe Kysely database instance typed with the required semaphore tables.
OptionalshouldRemoveExpiredKeys?: booleanWhen true, a background task periodically removes expired semaphore records and their related slots.
Set to false to disable automatic cleanup.
Configuration for
KyselySemaphoreAdapter. Requires a Kysely instance typed with the semaphore schema. Callinit()before using the adapter.IMPORT_PATH:
"@daiso-tech/core/semaphore/kysely-semaphore-adapter"