import { TrackEndReason } from "https://deno.land/x/lavalink_types@2.0.6/src/player.ts";
The different end reasons.
Members
The track was stopped because the cleanup threshold for the audio player has reached. This triggers when the amount of time passed since the last frame fetch has reached the threshold specified in the player manager. This may also indicate either a leaked audio player which has discarded, but not stopped.
This means the track itself emitted a terminator. This is usually caused by the track reaching the end, however it will also be used when it ends due to an exception.