class Tasker::OneShot(R)
Included Modules
Defined in:
tasker/one_shot.cr
Constructors
Instance Method Summary
Instance methods inherited from class Tasker::Task
<=>(other)
<=>,
==(other)
==,
cancel(msg = "Task canceled") : Nil
cancel,
created : Time
created,
each(&)
each,
get
get,
last_scheduled : Time | Nil
last_scheduled,
next_epoch
next_epoch,
next_scheduled : Time | Nil
next_scheduled,
resume
resume,
schedule
schedule,
trigger
trigger,
trigger_count : Int64
trigger_count
Constructor methods inherited from class Tasker::Task
new
new
Constructor Detail
def self.
new(at, &block : -> R)
#
Instance Method Detail
def
cancel(msg =
"Task canceled")
#
def
next_scheduled : Time | Nil
#