Class: SwarmSDK::Workflow::Executor::ExecutionState
- Inherits:
-
Struct
- Object
- Struct
- SwarmSDK::Workflow::Executor::ExecutionState
- Defined in:
- lib/swarm_sdk/workflow/executor.rb
Overview
Execution state container
Holds mutable state during workflow execution to avoid instance variable pollution.
Instance Attribute Summary collapse
-
#current_input ⇒ Object
Returns the value of attribute current_input.
-
#execution_index ⇒ Object
Returns the value of attribute execution_index.
-
#last_result ⇒ Object
Returns the value of attribute last_result.
-
#logs ⇒ Object
Returns the value of attribute logs.
-
#results ⇒ Object
Returns the value of attribute results.
Instance Attribute Details
#current_input ⇒ Object
Returns the value of attribute current_input
17 18 19 |
# File 'lib/swarm_sdk/workflow/executor.rb', line 17 def current_input @current_input end |
#execution_index ⇒ Object
Returns the value of attribute execution_index
17 18 19 |
# File 'lib/swarm_sdk/workflow/executor.rb', line 17 def execution_index @execution_index end |
#last_result ⇒ Object
Returns the value of attribute last_result
17 18 19 |
# File 'lib/swarm_sdk/workflow/executor.rb', line 17 def last_result @last_result end |
#logs ⇒ Object
Returns the value of attribute logs
17 18 19 |
# File 'lib/swarm_sdk/workflow/executor.rb', line 17 def logs @logs end |
#results ⇒ Object
Returns the value of attribute results
17 18 19 |
# File 'lib/swarm_sdk/workflow/executor.rb', line 17 def results @results end |