Options
All
  • Public
  • Public/Protected
  • All
Menu

Throttle the promise and only execute them one at a time

Hierarchy

  • PromiseThrottler

Index

Constructors

constructor

Properties

Private _delayBetweenPromise

_delayBetweenPromise: number

Private _lastStart

_lastStart: number = 0

Private _queue

_queue: Array<QueuedPromise<any>> = []

Accessors

delayBetweenPromise

delayBetweenPromise:

Delay between promises

Methods

Private _dequeue

  • _dequeue(): void

Private _execute

  • _execute(): void

add

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc