Constructor
new UniqueQueue()
- Source:
- Since:
- 1.4.0
- Copyright:
- schukai GmbH
Methods
add(value) → {Queue}
- Source:
Add a new element to the end of the queue.
Parameters:
Name | Type | Description |
---|---|---|
value |
object |
Throws:
-
value is not a object
- Type
- TypeError
Returns:
- Type
- Queue
clear() → {Queue}
- Source:
remove all entries
Returns:
- Type
- Queue
poll() → {object}
- Source:
Remove the element at the front of the queue If the queue is empty, return undefined.
Returns:
- Type
- object