Aller au contenu principal

SemaphoreOptions

Index

Properties

concurrency

concurrency: number

The maximum number of concurrent locks.

optionaltimeout

timeout?: number

The maximum time to wait for a lock to become available.