Posse::EventStore::InMemory
Inherits Posse::EventStore::Base < Reference < Object
Constants
Log = ::Log.for(self)
Constructors
new
SourceInstance methods
acknowledge(handler_name : String, version : Int64) : Nil
Sourceappend(stream_id : String, expected_version : Int64, events : Array(Posse::Events::Event), consistency : Posse::Commands::Consistency::Any = Posse::Commands::Consistency::Kind::Strong) : Int64
Sourcesubscribe(subscriber_name : String, &block : Posse::Events::Event, Hash(String, JSON::Any) -> Nil) : Nil
Sourcewait_for_consistency(consistency : Posse::Commands::Consistency::Any, target_version : Int64, timeout : Time::Span = 5.seconds) : Nil
Source