lib/garcon/task/obligation.rb
# The current value of the obligation. Will be `nil` while the state is
# pending or the operation has been rejected. Will re-raise any exceptions
# raised during processing (but will not raise an exception on timeout).
#
# @param [Numeric]
#   Timeout the maximum time in seconds to wait.
#
# @raise [Exception]
#   Raises the reason when rejected.
#
# @return [Object]
#   see Dereferenceable#deref
#
The current value of the obligation. Will be `nil` while the state is
pending or the operation has been rejected. Will re-raise any exceptions
raised during processing (but will not raise an exception on timeout).
The current value of the obligation . Will be ` nil ` while the state is pending or the operation has been rejected . Will re - raise any exceptions raised during processing ( but will not raise an exception on timeout ) .
def value!(timeout = nil)
      wait(timeout)
      if rejected?
        raise self
      else
        deref
      end
    end
def value! ( timeout = nil ) wait ( timeout ) if rejected? raise self else deref end end
The current value of the obligation.
The current value of the obligation .
None
Object
[Exception] Raises the reason when rejected.
[ Exception ] Raises the reason when rejected .
timeout
<not_specific>
<not_specific>
Timeout the maximum time in seconds to wait.
Timeout the maximum time in seconds to wait .