Method: Hermann::Result#value
- Defined in:
- lib/hermann/result.rb
#value(timeout = 0) ⇒ NilClass, Object
Access the value of the future
37 38 39 40 |
# File 'lib/hermann/result.rb', line 37 def value(timeout=0) @producer.tick_reactor(timeout) return @value end |