class Concurrent::Delay
def value!(timeout = nil)
-
(Exception)
- when `#rejected?` raises `#reason`
Returns:
-
(Object)
- the current value of the object
Parameters:
-
timeout
(Numeric
) -- the maximum number of seconds to wait
def value!(timeout = nil) if @executor super else result = value raise @reason if @reason result end end