Method: FutureProof::Future#value
- Defined in:
- lib/future_proof/future.rb
#value(*args) ⇒ Object
Note:
It requires list of arguments if Future was not called before.
Return a result of a Future.
33 34 35 |
# File 'lib/future_proof/future.rb', line 33 def value(*args) thread(*args).value end |