Sha256: 434a2d2886637c11cc1d3d951c9f1338ce949fef8b1dbffaf1e82c4c804263fc

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 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)
        dispatcher.process_event event
      end
    end
  end
end

require 'emittance/dispatchers/synchronous'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
emittance-0.0.4 lib/emittance/brokers/synchronous.rb