class
Movie::ProjectionsExtension
- Movie::ProjectionsExtension
- Movie::Extension
- Reference
- Object
Defined in:
movie/persistence/projection_extension.crConstructors
Instance Method Summary
- #run(projection : Persistence::EventProjection, settings : Persistence::ProjectionSettings = Persistence::ProjectionSettings.new, persistence_id : String | Nil = nil) : Persistence::ProjectionControl
- #run(projection : Persistence::DurableStateProjection, settings : Persistence::ProjectionSettings = Persistence::ProjectionSettings.new) : Persistence::ProjectionControl
-
#stop : Nil
Called when the system is shutting down.
Constructor Detail
Instance Method Detail
def run(projection : Persistence::EventProjection, settings : Persistence::ProjectionSettings = Persistence::ProjectionSettings.new, persistence_id : String | Nil = nil) : Persistence::ProjectionControl
#
def run(projection : Persistence::DurableStateProjection, settings : Persistence::ProjectionSettings = Persistence::ProjectionSettings.new) : Persistence::ProjectionControl
#
def stop : Nil
#
Description copied from class Movie::Extension
Called when the system is shutting down. Override to cleanup resources (close connections, stop services, etc.)