Sha256: 9ffa989a0c2cb70ea3ba75cc42a3068e633c0ca4ef7231b2b83709148e74edf5

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

module Emittance
  ##
  # Synchronously dispatches the event to watchers.
  #
  class Synchronous < Emittance::Broker
    class << self
      # (@see Emittance::Broker.process_event)
      def process_event(event)
        Emittance::Dispatcher.process_event event
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
emittance-0.0.3 lib/emittance/brokers/synchronous.rb
emittance-0.0.2 lib/emittance/brokers/synchronous.rb