Method: Conflow::Future#initialize
- Defined in:
- lib/conflow/future.rb
#initialize(job, result_key = nil) ⇒ Future
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Future.
25 26 27 28 |
# File 'lib/conflow/future.rb', line 25 def initialize(job, result_key = nil) @job = job @result_key = result_key end |