struct Timeout(ResultType)

Defined in:

timeout.cr

Constructors

Class Method Summary

Instance Method Summary

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]