Queue
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
action: * |
|
public |
api: * |
|
public |
category: * |
|
public |
|
|
public |
maxInFlight: * |
|
public |
queue: *[] |
|
public |
queueTimer: * |
|
public |
|
|
public |
restoreRate: * |
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
complete() |
|
public |
|
|
public |
fail(err: *, failedItem: *) |
|
public |
|
|
public |
request(params: *, options: *): * |
|
public |
runQueue() |
|
public |
|
|
public |
throttle() |
Public Constructors
public constructor() source
Public Members
public action: * source
public api: * source
public category: * source
public maxInFlight: * source
public queue: *[] source
public queueTimer: * source
public resetDrainTimeout: * source
public restoreRate: * source
Public Methods
public complete() source
public drainQueue() source
public fail(err: *, failedItem: *) source
Params:
Name | Type | Attribute | Description |
err | * | ||
failedItem | * |
public onQueueTimer() source
public request(params: *, options: *): * source
Params:
Name | Type | Attribute | Description |
params | * | ||
options | * |
Return:
* |