Sha256: b5c7a25d55feae7c5fb7959e2dc32120dacfe320ded2010d69ed2fd44da6e0e3

Contents?: true

Size: 327 Bytes

Versions: 20

Compression:

Stored size: 327 Bytes

Contents

module Concurrent
  class Channel
    class Selector

      class ErrorClause

        def initialize(block)
          @block = block
        end

        def execute(error)
          @block.call(error)
        rescue
          # suppress and move on
        ensure
          return nil
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
concurrent-ruby-edge-0.7.2 lib/concurrent-ruby-edge/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.7.1 lib/concurrent-ruby-edge/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.7.0 lib/concurrent-ruby-edge/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.6.0 lib/concurrent-ruby-edge/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.6.0.pre1 lib/concurrent-ruby-edge/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.5.0 lib-edge/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.4.1 lib-edge/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.4.0.pre2 lib-edge/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.4.0.pre1 lib-edge/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.2.4 lib/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.3.1 lib/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.3.0 lib/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.2.3 lib/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.2.3.pre3 lib/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.2.2 lib/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.2.1 lib/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.2.0 lib/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.2.0.pre5 lib/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.2.0.pre4 lib/concurrent/channel/selector/error_clause.rb
concurrent-ruby-edge-0.2.0.pre3 lib/concurrent/channel/selector/error_clause.rb