Method: SpotFlow::Execution#signal
- Defined in:
- lib/spot_flow/execution.rb
#signal(result = nil) ⇒ Object
141 142 143 144 145 |
# File 'lib/spot_flow/execution.rb', line 141 def signal(result = nil) @variables.merge!(result_to_variables(result)) if result.present? raise ExecutionError.new("Cannot signal a step execution that has ended.") if ended? step.signal(self) end |