lib/abid/engine/executor.rb
# Cancel the job if it should be.
# @return [Boolean] true if cancelled
Cancel the job if it should be.
Cancel the job if it should be .
def check_to_cancel
        return false if @prerequisites.empty?
        return false if @prerequisites.all? { |p| !p.failed? && !p.cancelled? }
        @process.cancel
      end
def check_to_cancel return false if @prerequisites . empty? return false if @prerequisites . all? { | p | ! p . failed? && ! p . cancelled? } @process . cancel end
Cancel the job if it should be.
Cancel the job if it should be .
true if cancelled
true if cancelled
Boolean