class
Movie::EventEffect(E, S)
- Movie::EventEffect(E, S)
- Reference
- Object
Included Modules
Defined in:
movie/persistence/behaviors.crConstructors
Instance Method Summary
- #callbacks : Array(Proc(S, Nil))
- #events : Array(E)
- #operation_id : Persistence::OperationId | Nil
- #outbox : Array(Persistence::OutboxEntry)
- #stop?
- #then_run(&callback : S -> ) : self
Instance methods inherited from module Movie::OutboxEffect
outbox : Array(Persistence::OutboxEntry)
outbox,
then_publish(message_id : String, destination : String, message : T) : self forall Tthen_publish(entry : Persistence::OutboxEntry) : self then_publish
Constructor Detail
def self.new(events : Array(E) = [] of E, operation_id : Persistence::OperationId | Nil = nil, stop : Bool = false)
#