struct Movie::Persistence::LoadEvents

Included Modules

Defined in:

movie/persistence/protocol.cr

Constructors

Instance Method Summary

Instance methods inherited from module Movie::Persistence::RetryableConnectionRequest(Array(Movie::Persistence::StoredEvent))

retryable_after_connection_loss? : Bool retryable_after_connection_loss?

Instance methods inherited from module Movie::Persistence::TypedConnectionRequest(Array(Movie::Persistence::StoredEvent))

dispatch(worker : ConnectionWorker, sender : Movie::ActorRefBase | Nil) : Nil dispatch, execute(connection : BackendConnection) : T(Movie::Persistence::StoredEvent) execute, retryable_after_connection_loss? : Bool retryable_after_connection_loss?

Instance methods inherited from module Movie::Persistence::ConnectionRequest

dispatch(worker : ConnectionWorker, sender : Movie::ActorRefBase | Nil) : Nil dispatch

Constructor Detail

def self.new(persistence_id : String, after_sequence_nr : Int64 = 0_i64) #

[View source]

Instance Method Detail

def after_sequence_nr : Int64 #

[View source]
def execute(connection : BackendConnection) : Array(StoredEvent) #

[View source]
def persistence_id : String #

[View source]