class
Movie::DurableEffect(S)
- Movie::DurableEffect(S)
- Reference
- Object
Included Modules
Defined in:
movie/persistence/behaviors.crConstructors
Instance Method Summary
- #action : DurableAction
- #callbacks : Array(Proc(S, Nil))
- #operation_id : Persistence::OperationId | Nil
- #outbox : Array(Persistence::OutboxEntry)
- #state : S | Nil
- #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(action : DurableAction, state : S | Nil = nil, operation_id : Persistence::OperationId | Nil = nil, stop : Bool = false)
#