class Chronos::PeriodicTask

Defined in:

chronos/periodictask.cr

Constructors

Instance Method Summary

Instance methods inherited from class Chronos::Task

id : String id, next_run : Time next_run, run run

Constructor methods inherited from class Chronos::Task

new(block : -> _) new

Constructor Detail

def self.new(period : Time::Span, first_run = nil, &block) #

[View source]

Instance Method Detail

def next_run : Time #

[View source]
def run #

[View source]