Class: Sequent::Core::EventStore::NoEventTypesCache

Inherits:
Object
  • Object
show all
Defined in:
lib/sequent/core/event_store.rb

Overview

Disables event type caching (ie. for in development).

Instance Method Summary collapse

Instance Method Details

#fetch_or_store(event_type) {|event_type| ... } ⇒ Object

Yields:

  • (event_type)


33
34
35
# File 'lib/sequent/core/event_store.rb', line 33

def fetch_or_store(event_type)
  yield(event_type)
end