> For the complete documentation index, see [llms.txt](https://vulkava.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vulkava.js.org/docs/defaultqueue.md).

# DefaultQueue

| Property/Getter |                                                                                                                                                   Description |                                                                                                  |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------------------------ |
| tracks          | <p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array">Array</a><<a href="/pages/s670mV6k00OCaJ4zcpQD">Track</a> | <a href="/pages/o5hmBCiQDmypsL57stHe">UnresolvedTrack</a>><br>The tracks array of this queue</p> |
| duration        |                <p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a><br>Gets the queue duration</p> |                                                                                                  |
| size            |                    <p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a><br>Gets the queue size</p> |                                                                                                  |

| Method      |                                                Params                                                |                             Description |
| ----------- | :--------------------------------------------------------------------------------------------------: | --------------------------------------: |
| add         |             track: [Track](/docs/track.md) \| [UnresolvedTrack](/docs/unresolvedtrack.md)            |               Adds a track to the queue |
| skipNTracks | n: [Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) | Remove the next n tracks from the queue |
| clear       |                                                   -                                                  |                        Clears the queue |
| shuffle     |                                                   -                                                  |                      Shuffles the queue |
