blocking_queue.ql

blocking_queue.ql
Contents of the file.

Function Overview

Function Description
fun enableBlockingQueue() When songs are played, they are added to the queue when the currently playing song ends. The first 2 songs will be added immediately as a buffer, but sequential ones will wait for the song to end befo...
native fun enableBlockingQueue(fastPolling) When songs are played, they are added to the queue when the currently playing song ends. The first 2 songs will be added immediately as a buffer, but sequential ones will wait for the song to end befo...
native fun disableBlockingQueue() When songs are played, they are added to the queue immediately.

Functions

fun enableBlockingQueue() link

When songs are played, they are added to the queue when the currently playing song ends. The first 2 songs will be added immediately as a buffer, but sequential ones will wait for the song to end before being added to the queue to not spam the queue.

native fun enableBlockingQueue(fastPolling) link

When songs are played, they are added to the queue when the currently playing song ends. The first 2 songs will be added immediately as a buffer, but sequential ones will wait for the song to end before being added to the queue to not spam the queue.

Params
fastPolling ( boolean )

If true, the queue will be polled every 5 seconds. If false, it will be polled at roughly 75% of the time left on the current song.

native fun disableBlockingQueue() link

When songs are played, they are added to the queue immediately.