Class: FlowNodes::AsyncFlow
- Defined in:
- lib/flow_nodes/async_flow.rb
Overview
A flow that can orchestrate both synchronous and asynchronous nodes.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Flow
Attributes inherited from BaseNode
Instance Method Summary collapse
Methods inherited from Flow
Methods inherited from BaseNode
#-, #>>, #exec, #initialize, #initialize_copy, #nxt, #set_params
Constructor Details
This class inherits a constructor from FlowNodes::Flow
Instance Method Details
#_run(_s) ⇒ Object
12 13 14 |
# File 'lib/flow_nodes/async_flow.rb', line 12 def _run(_s) raise "Use run_async for AsyncFlow." end |
#run(s) ⇒ Object
6 |
# File 'lib/flow_nodes/async_flow.rb', line 6 def run(s) = run_async(s) |
#run_async(s) ⇒ Object
8 9 10 |
# File 'lib/flow_nodes/async_flow.rb', line 8 def run_async(s) _run_async(s) end |