Sha256: 315d13071ec25a90f76aca5d8ec23ca8b2e3bbba63e82e9c09b23ca153fefe68
Contents?: true
Size: 432 Bytes
Versions: 9
Compression:
Stored size: 432 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' Emittance::Brokerage.register_broker Emittance::Synchronous, :synchronous
Version data entries
9 entries across 9 versions & 1 rubygems