Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ATM

Index

Constructors

constructor

Properties

Private _stop

_stop: boolean = false

Private currTaskCount

currTaskCount: number = 0

Private currTaskIndex

currTaskIndex: number = 0

Private failedQueue

failedQueue: Array<ATMTask> = []

maxFailedQueueLen

maxFailedQueueLen: number = 100

Private maxParallel

maxParallel: number

Private maxRetry

maxRetry: number

maxTaskQueueLen

maxTaskQueueLen: number = 100

Private queueIndex

queueIndex: number = 0

Private queueReject

queueReject: Function

Private queueResolve

queueResolve: Function

Private strict

strict: boolean

Private taskQueue

taskQueue: Array<ATMTask> = []

Methods

Private _reject

  • _reject(atmTask: ATMTask | undefined, reason: any): void
  • Parameters

    • atmTask: ATMTask | undefined
    • reason: any

    Returns void

Private _resolve

  • _resolve(atmTask: ATMTask | undefined, value: any): void
  • Parameters

    • atmTask: ATMTask | undefined
    • value: any

    Returns void

Private checkQueueResolve

  • checkQueueResolve(): void

continue

  • continue(): ATM

Private executeFailedTask

  • executeFailedTask(): void

next

Private nextFailedQueue

  • nextFailedQueue(): void

push

query

reset

  • reset(force?: Boolean): ATM
  • Parameters

    • Optional force: Boolean

    Returns ATM

setMaxFailedQueue

  • setMaxFailedQueue(maxLen: number): ATM

setMaxTaskQueue

  • setMaxTaskQueue(maxLen: number): ATM

setParallel

  • setParallel(parallel: number): ATM

start

stop

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