Extends
- Array
Members
duration
Gets duration of the Queue
- Source:
empty
Checks whether the queue is empty
- Source:
Methods
add(prop) → {Number}
Add an item to the Queue
Parameters:
Name | Type | Description |
---|---|---|
prop |
Object |
Track object |
- Source:
first() → {Object}
Gets the first item in the Queue
- Source:
remove(index) → {Object}
Remove an item from the queue by the index
Parameters:
Name | Type | Description |
---|---|---|
index |
Number |
Position to be removed |
- Source:
removeFirst() → {Object}
Remove the first item from the Queue
- Source: