abstract class Tasko::Engine

Direct Known Subclasses

Defined in:

tasko/engine.cr

Instance Method Summary

Instance Method Detail

abstract def create_task_key : Key #

[View source]
abstract def deserialize_data(serialized : String, as type : Class) #

[View source]
abstract def mark_as_completed(task : Key) : Nil #

[View source]
abstract def run(application : Application, exit_on_done : Bool) : Nil #

[View source]
abstract def serialize_data(data : D) : String forall D #

[View source]
def stats : Array(TaskStats) #

Optional


[View source]
def store : KVStore #

[View source]
abstract def submit_changeset(changeset : Changeset, current_task_key : Key | Nil) #

[View source]
abstract def tasks_dependencies(task : Key) : Array(Key) #

[View source]