abstract class Tasker::RepeatingTask(R)

Included Modules

Direct Known Subclasses

Defined in:

tasker/repeating_task.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(&block : -> R) #

[View source]

Instance Method Detail

def cancel(msg = "Task canceled") #

[View source]
def each(&) #
Description copied from module Enumerable(R)

Must yield this collection's elements to the block.


[View source]
def get #

[View source]
def next_scheduled : Time | Nil #

[View source]
def resume #

[View source]
def trigger #

[View source]