class Tasko::Application

Defined in:

tasko/application.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(engine : Engine = MemoryEngine.new) #

[View source]

Instance Method Detail

def define_task(name : String, body : Proc(D, Context, Nil)) forall D #

[View source]
def engine : Engine #

[View source]
def run(exit_on_done : Bool = false) #

[View source]
def schedule_task(name : String, data : D) : Key forall D #

[View source]