Sha256: 75957fb69391e67b2922d56b5570e6d06178d04646a41fa7dc84cb90dc81c510

Contents?: true

Size: 388 Bytes

Versions: 24

Compression:

Stored size: 388 Bytes

Contents

module Concurrent
  module Actor
    module Behaviour
      # Delegates messages and events to {AbstractContext} instance.
      class ExecutesContext < Abstract
        def on_envelope(envelope)
          context.on_envelope envelope
        end

        def on_event(public, event)
          context.on_event(event)
          super public, event
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
concurrent-ruby-edge-0.1.1 lib/concurrent/actor/behaviour/executes_context.rb
concurrent-ruby-edge-0.1.0 lib/concurrent/actor/behaviour/executes_context.rb
concurrent-ruby-edge-0.1.0.pre3 lib/concurrent/actor/behaviour/executes_context.rb
concurrent-ruby-edge-0.1.0.pre2 lib/concurrent/actor/behaviour/executes_context.rb