class

Posse::EventStore::InMemory

Inherits Posse::EventStore::Base < Reference < Object

Constants

Log = ::Log.for(self)

Constructors

Instance methods

acknowledge(handler_name : String, version : Int64) : Nil
Source
append(stream_id : String, expected_version : Int64, events : Array(Posse::Events::Event), consistency : Posse::Commands::Consistency::Any = Posse::Commands::Consistency::Kind::Strong) : Int64
Source
load(stream_id : String, after_version : Int64) : Array(Posse::Events::Event)
Source
load(stream_id : String) : Array(Posse::Events::Event)
Source
subscribe(subscriber_name : String, &block : Posse::Events::Event, Hash(String, JSON::Any) -> Nil) : Nil
Source
wait_for_consistency(consistency : Posse::Commands::Consistency::Any, target_version : Int64, timeout : Time::Span = 5.seconds) : Nil
Source

Nested types