🎹AbstractQueue

Allows custom queue implementations

Abstract getter
Description

duration

Numberarrow-up-right Gets the queue duration

size

Numberarrow-up-right Gets the queue size

Abstract Method
Params
Description

add

Adds a track to the queue

poll

-

Polls the queue for the next track. Returns Track | UnresolvedTrack

skipNTracks

Remove the next n tracks from the queue

clear

-

Clears the queue

Last updated