Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
quartz
v0.1.1
Quartz
PeriodicTimer
Timer
Built with Crystal 1.9.2
2023-10-08 13:04:36 UTC
class
Quartz::Timer
Quartz::Timer
Reference
Object
Direct Known Subclasses
Quartz::PeriodicTimer
Defined in:
quartz/timer.cr
Constructors
.new
(seconds : Number, &block)
.new
(time : Time::Span, &block)
Instance Method Summary
#cancel
#canceled?
: Bool
Constructor Detail
def self.
new
(seconds : Number, &block)
#
[
View source
]
def self.
new
(time : Time::Span, &block)
#
[
View source
]
Instance Method Detail
def
cancel
#
[
View source
]
def
canceled?
: Bool
#
[
View source
]