class Concurrent::Promises::Future
def value!(timeout = nil, timeout_value = nil)
-
(Exception)
- {#reason} on rejection
Returns:
-
(Object, nil, timeout_value)
- the value of the Future when fulfilled,
def value!(timeout = nil, timeout_value = nil) if wait_until_resolved! timeout internal_state.value else timeout_value end end