Sha256: f7bd523c2fabf414a0819072a6197318cce5965539f844fbad56e383cd39e523

Contents?: true

Size: 252 Bytes

Versions: 9

Compression:

Stored size: 252 Bytes

Contents

# frozen_string_literal: true
module Dynflow
  module Action::Timeouts
    Timeout = Algebrick.atom

    def process_timeout
      fail("Timeout exceeded.")
    end

    def schedule_timeout(seconds)
      plan_event(Timeout, seconds)
    end
 end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dynflow-1.4.8 lib/dynflow/action/timeouts.rb
dynflow-1.4.7 lib/dynflow/action/timeouts.rb
dynflow-1.4.6 lib/dynflow/action/timeouts.rb
dynflow-1.4.5 lib/dynflow/action/timeouts.rb
dynflow-1.4.4 lib/dynflow/action/timeouts.rb
dynflow-1.4.3 lib/dynflow/action/timeouts.rb
dynflow-1.4.2 lib/dynflow/action/timeouts.rb
dynflow-1.4.1 lib/dynflow/action/timeouts.rb
dynflow-1.4.0 lib/dynflow/action/timeouts.rb