🎹AbstractQueue
Allows custom queue implementations
Last updated
Allows custom queue implementations
Last updated
Abstract getter | Description |
---|---|
Abstract Method | Params | Description |
---|---|---|
duration
Number Gets the queue duration
size
Number Gets the queue size
add
track: Track | UnresolvedTrack
Adds a track to the queue
poll
-
Polls the queue for the next track. Returns Track | UnresolvedTrack
skipNTracks
n: Number
Remove the next n tracks from the queue
clear
-
Clears the queue