Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AsyncLockOptions

Package version

Describes the options that can be provided to create an async lock.

Hierarchy

  • AsyncLockOptions

Index

Properties

Optional Promise

Promise: any
property

{any} [Promise] Your implementation of the promise. Default is: global promise.

Optional domainReentrant

domainReentrant: undefined | false | true
property

{boolean} [domainReentrant] Whether lock can reenter in the same domain. Default is: false.

Optional maxPending

maxPending: undefined | number
property

{number} [maxPending] Maximum pending tasks. Default is: 1000.

Optional timeout

timeout: undefined | number
property

{number} [timeout] The max timeout. Default is: 0 (never timeout).

Generated using TypeDoc