abstract class Tasker::Task

Included Modules

Direct Known Subclasses

Defined in:

tasker/task.cr

Constant Summary

SYNC_PERIOD = 2.minutes.total_milliseconds / 1000.0

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def <=>(other) #

required for comparable


[View source]
def ==(other) #
Description copied from class Reference

Returns false (other can only be a Value here).


[View source]
def cancel(msg = "Task canceled") : Nil #

[View source]
def created : Time #

[View source]
def each(&) #

[View source]
abstract def get #

[View source]
def last_scheduled : Time | Nil #

[View source]
def next_epoch #

[View source]
def next_scheduled : Time | Nil #

[View source]
abstract def resume #

[View source]
def schedule #

[View source]
abstract def trigger #

[View source]
def trigger_count : Int64 #

[View source]