new Queue(optionsopt, mergeCallbackopt)
- Source:
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Optional settings for the queue Properties
|
||||||||||||
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 |