Home Reference Source
public class | source

Queue

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

action: *

public

api: *

public
public
public
public

queue: *[]

public
public
public
public
public

Method Summary

Public Methods
public
public
public

fail(err: *, failedItem: *)

public
public

request(params: *, options: *): *

public
public
public

Public Constructors

public constructor() source

Public Members

public action: * source

public api: * source

public category: * source

public inFlight: number source

public maxInFlight: * source

public queue: *[] source

public queueTimer: * source

public resetDrainTimeout: * source

public restoreRate: * source

public singleDrain: boolean source

public throttleCalls: number source

Public Methods

public complete() source

public drainQueue() source

public fail(err: *, failedItem: *) source

Params:

NameTypeAttributeDescription
err *
failedItem *

public onQueueTimer() source

public request(params: *, options: *): * source

Params:

NameTypeAttributeDescription
params *
options *

Return:

*

public runQueue() source

public setThrottleTimer() source

public throttle() source