class Dynflow::Action::Suspended
Attributes
execution_plan_id[R]
step_id[R]
Public Class Methods
new(action)
click to toggle source
# File lib/dynflow/action/suspended.rb, line 5 def initialize(action) @world = action.world @execution_plan_id = action.execution_plan_id @step_id = action.run_step_id end
Public Instance Methods
<<(event = nil)
click to toggle source
# File lib/dynflow/action/suspended.rb, line 15 def <<(event = nil) event event end
event(event, future = Concurrent::Promises.resolvable_future)
click to toggle source
# File lib/dynflow/action/suspended.rb, line 11 def event(event, future = Concurrent::Promises.resolvable_future) @world.event execution_plan_id, step_id, event, future end
Also aliased as: ask