Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
timeout
master
Timeout
Reached
Built with Crystal 1.9.2
2023-10-07 15:15:59 UTC
struct
Timeout(ResultType)
Timeout(ResultType)
Struct
Value
Object
Defined in:
timeout.cr
Constructors
.new
(time : Time::Span)
Class Method Summary
.try_for
(time : Time::Span, &block : Proc(ResultType))
Instance Method Summary
#try_for
(&block : Proc(ResultType))
Constructor Detail
def self.
new
(time : Time::Span)
#
[
View source
]
Class Method Detail
def self.
try_for
(time : Time::Span, &block : Proc(ResultType))
#
[
View source
]
Instance Method Detail
def
try_for
(&block : Proc(ResultType))
#
[
View source
]