PreloadOptions
type PreloadOptions = object;The validated DisTubeOptions.preload options of a DisTube instance.
Properties
Section titled “Properties”enabled
Section titled “enabled”enabled: boolean;Whether or not preloading is enabled.
threshold
Section titled “threshold”threshold: number;The number of seconds remaining in the currently playing song before preloading starts.