class Worker::AudioPlayer::Queue

Defined in:

worker/audio_player/queue.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(worker : Worker, server_id : UInt64) #

[View source]

Instance Method Detail

def [](start : Int, count : Int) : Array(Audio) #

[View source]
def clear : Nil #

[View source]
def delete_at(range : Range) : Nil #

[View source]
def empty? #

[View source]
def first? : Audio | Nil #

[View source]
def full? #

[View source]
def includes?(audio : Audio) : Bool #

[View source]
def limit : Int32 #

[View source]
def pop(n : Int) : Array(Audio) #

[View source]
def push(audios : Array(Audio)) : Nil #

[View source]
def shift(n : Int) : Array(Audio) #

[View source]
def shuffle : Nil #

[View source]
def size : Int32 #

[View source]
def unshift(audios : Array(Audio)) : Nil #

[View source]