class
Movie::Persistence::DurableStateProjection
- Movie::Persistence::DurableStateProjection
- Reference
- Object
Defined in:
movie/persistence/projection.crConstructors
- .for(type : T.class, name : String) : self forall T
- .new(name : String, entity_type : String | Nil = nil)
Instance Method Summary
- #entity_type : String | Nil
- #handler_for(state : DurableStateEnvelope) : ProjectionHandler
- #id : ProjectionId
- #name : String
- #on(type : S.class, manifest : String = type.name, &handler : S, DurableStateEnvelope, ProjectionTransaction -> ) : self forall S
- #on_delete(&handler : DurableStateEnvelope, ProjectionTransaction -> ) : self
Constructor Detail
Instance Method Detail
def on(type : S.class, manifest : String = type.name, &handler : S, DurableStateEnvelope, ProjectionTransaction -> ) : self forall S
#