Queue

Queue

new Queue(optionsopt, mergeCallbackopt)

Source:
Parameters:
Name Type Attributes Description
options Object <optional>

Optional settings for the queue

Properties
Name Type Attributes Description
frequency Number <optional>

Ticks per second

reverse Boolean <optional>

Set to true to always run the latest task first

mergeCallback function <optional>

Methods

_duplicates(j, onlyCallback)

Source:

Returns the index positions of jobs that look identical to the given one.

Parameters:
Name Type Description
j Task

The newly added job

onlyCallback Boolean

Only compare the callbacks and not the passed arguments