class Movie::ProjectionsExtension

Defined in:

movie/persistence/projection_extension.cr

Constructors

Instance Method Summary

Instance methods inherited from class Movie::Extension

start start, stop stop

Constructor Detail

def self.new(database : DatabaseExtension) #

[View source]

Instance Method Detail

def run(projection : Persistence::EventProjection, settings : Persistence::ProjectionSettings = Persistence::ProjectionSettings.new, persistence_id : String | Nil = nil) : Persistence::ProjectionControl #

[View source]
def run(projection : Persistence::DurableStateProjection, settings : Persistence::ProjectionSettings = Persistence::ProjectionSettings.new) : Persistence::ProjectionControl #

[View source]
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.)


[View source]