class Minion::Timer

Defined in:

minion/timer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(interval : Int32 | Float32 = 1, periodic : Bool = false, &blk : Minion::Timer -> ) #

[View source]

Instance Method Detail

def cancel #

[View source]
def canceled? : Bool #

[View source]
def create_timer #

[View source]
def interval : Float32 | Int32 #

[View source]
def interval=(interval : Float32 | Int32) #

[View source]
def periodic : Bool #

[View source]
def periodic=(periodic : Bool) #

[View source]
def periodic? : Bool #

[View source]
def resume #

[View source]