Skip to content

PreloadOptions

type PreloadOptions = object;

The validated DisTubeOptions.preload options of a DisTube instance.

enabled: boolean;

Whether or not preloading is enabled.


threshold: number;

The number of seconds remaining in the currently playing song before preloading starts.