Class: SolidFlow::Replay::State
- Inherits:
-
Struct
- Object
- Struct
- SolidFlow::Replay::State
- Defined in:
- lib/solid_flow/replay.rb
Instance Attribute Summary collapse
-
#awaiting ⇒ Object
Returns the value of attribute awaiting.
-
#ctx ⇒ Object
Returns the value of attribute ctx.
-
#execution_state ⇒ Object
Returns the value of attribute execution_state.
-
#history ⇒ Object
Returns the value of attribute history.
-
#signal_buffer ⇒ Object
Returns the value of attribute signal_buffer.
-
#step_states ⇒ Object
Returns the value of attribute step_states.
-
#task_states ⇒ Object
Returns the value of attribute task_states.
-
#timer_states ⇒ Object
Returns the value of attribute timer_states.
Instance Method Summary collapse
Instance Attribute Details
#awaiting ⇒ Object
Returns the value of attribute awaiting
86 87 88 |
# File 'lib/solid_flow/replay.rb', line 86 def awaiting @awaiting end |
#ctx ⇒ Object
Returns the value of attribute ctx
86 87 88 |
# File 'lib/solid_flow/replay.rb', line 86 def ctx @ctx end |
#execution_state ⇒ Object
Returns the value of attribute execution_state
86 87 88 |
# File 'lib/solid_flow/replay.rb', line 86 def execution_state @execution_state end |
#history ⇒ Object
Returns the value of attribute history
86 87 88 |
# File 'lib/solid_flow/replay.rb', line 86 def history @history end |
#signal_buffer ⇒ Object
Returns the value of attribute signal_buffer
86 87 88 |
# File 'lib/solid_flow/replay.rb', line 86 def signal_buffer @signal_buffer end |
#step_states ⇒ Object
Returns the value of attribute step_states
86 87 88 |
# File 'lib/solid_flow/replay.rb', line 86 def step_states @step_states end |
#task_states ⇒ Object
Returns the value of attribute task_states
86 87 88 |
# File 'lib/solid_flow/replay.rb', line 86 def task_states @task_states end |
#timer_states ⇒ Object
Returns the value of attribute timer_states
86 87 88 |
# File 'lib/solid_flow/replay.rb', line 86 def timer_states @timer_states end |
Instance Method Details
#current_step ⇒ Object
101 102 103 |
# File 'lib/solid_flow/replay.rb', line 101 def current_step execution_state.cursor_step end |
#current_step_state ⇒ Object
105 106 107 |
# File 'lib/solid_flow/replay.rb', line 105 def current_step_state step_states[execution_state.cursor_step&.to_sym] end |
#finished? ⇒ Boolean
97 98 99 |
# File 'lib/solid_flow/replay.rb', line 97 def finished? execution_state.finished? end |