class Syskit::NetworkGeneration::Async::Resolution
Attributes
engine[R]
plan[R]
requirement_tasks[R]
Public Class Methods
new(plan, event_logger, requirement_tasks, **options, &block)
click to toggle source
Calls superclass method
# File lib/syskit/network_generation/async.rb, line 44 def initialize(plan, event_logger, requirement_tasks, **options, &block) @plan = plan @requirement_tasks = requirement_tasks.to_set @engine = Engine.new(plan, event_logger: event_logger) super(**options, &block) end
Public Instance Methods
cancel()
click to toggle source
Calls superclass method
# File lib/syskit/network_generation/async.rb, line 51 def cancel add_observer do self.plan.execution_engine.once do if !engine.work_plan.finalized? engine.work_plan.discard_transaction end end end super end