Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
chronos
v0.2.0
Chronos
OneTimeTask
PeriodicTask
RecurringTask
Task
Generated using Crystal 1.14.0
2024-11-26 10:37:43 UTC
abstract class
Chronos::
Task
Chronos::Task
Reference
Object
Direct Known Subclasses
Chronos::OneTimeTask
Chronos::PeriodicTask
Chronos::RecurringTask
Defined in:
chronos/task.cr
Constructors
.new
(block : -> _)
Instance Method Summary
#id
: String
#next_run
: Time
#run
Constructor Detail
def self.
new
(block : -> _)
#
[
View source
]
Instance Method Detail
def
id
: String
#
[
View source
]
abstract def
next_run
: Time
#
[
View source
]
def
run
#
[
View source
]