Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PromiseQueueOptions

Options for a new 'PromiseQueue' instance.

Hierarchy

  • PromiseQueueOptions

Index

Properties

actionInterval?: null | number

A custom interval in milliseconds, which is used by an action to check if it is ready to be executed.

autoStart?: null | boolean

Auto start queue or not. Default: (true)

concurrency?: null | number

The maximum number of promises running at the same time. Default: 1

nextActionsInterval?: null | number

A custom interval in milliseconds, which is used by the queue itself to check and enqueue next actions.

Generated using TypeDoc