Class: RubyEventStore::AsyncProxyStrategy::Inline Deprecated

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_event_store/async_proxy_strategy.rb

Overview

Deprecated.

Use RubyEventStore::ImmediateAsyncDispatcher instead

Instance Method Summary collapse

Constructor Details

#initializeInline

Returns a new instance of Inline.



5
6
7
8
9
10
11
# File 'lib/ruby_event_store/async_proxy_strategy.rb', line 5

def initialize
  warn <<~EOW
    RubyEventStore::AsyncProxyStrategy::Inline has been deprecated.

    Use RubyEventStore::ImmediateAsyncDispatcher instead
  EOW
end

Instance Method Details

#call(schedule_proc) ⇒ Object



13
14
15
# File 'lib/ruby_event_store/async_proxy_strategy.rb', line 13

def call(schedule_proc)
  schedule_proc.call
end