Raptor Aggregate Projection Stream
interface RaptorAggregateProjectionStream
Functions
Properties
Extensions
Link copied to clipboard
suspend fun <Id : RaptorAggregateProjectionId, Change : RaptorAggregateChange<Id>, Projection : RaptorProjection<Id>> RaptorAggregateProjectionStream.subscribeIn(scope: CoroutineScope, collector: suspend (event: RaptorAggregateProjectionEventBatch<Id, Projection, Change>) -> Unit, errorStrategy: RaptorAggregateStream.ErrorStrategy = RaptorAggregateStream.ErrorStrategy.skip, changeClass: KClass<Change>, idClass: KClass<Id>, projectionClass: KClass<Projection>, includeReplays: Boolean = false): Job
suspend fun <Id : RaptorAggregateProjectionId, Change : RaptorAggregateChange<Id>, Projection : RaptorProjection<Id>> RaptorAggregateProjectionStream.subscribeIn(scope: CoroutineScope, collector: suspend (event: RaptorAggregateProjectionEvent<Id, Projection, Change>) -> Unit, errorStrategy: RaptorAggregateStream.ErrorStrategy = RaptorAggregateStream.ErrorStrategy.skip, changeClass: KClass<Change>, idClass: KClass<Id>, projectionClass: KClass<Projection>, includeReplays: Boolean = false): Job
inline suspend fun <Id : RaptorAggregateProjectionId, Change : RaptorAggregateChange<Id>, Projection : RaptorProjection<Id>> RaptorAggregateProjectionStream.subscribeIn(scope: CoroutineScope, noinline collector: suspend (event: RaptorAggregateProjectionEventBatch<Id, Projection, Change>) -> Unit, errorStrategy: RaptorAggregateStream.ErrorStrategy = RaptorAggregateStream.ErrorStrategy.skip, includeReplays: Boolean = false): Job
inline suspend fun <Id : RaptorAggregateProjectionId, Change : RaptorAggregateChange<Id>, Projection : RaptorProjection<Id>> RaptorAggregateProjectionStream.subscribeIn(scope: CoroutineScope, noinline collector: suspend (event: RaptorAggregateProjectionEvent<Id, Projection, Change>) -> Unit, errorStrategy: RaptorAggregateStream.ErrorStrategy = RaptorAggregateStream.ErrorStrategy.skip, includeReplays: Boolean = false): Job
Link copied to clipboard
suspend fun <Id : RaptorAggregateProjectionId, Change : RaptorAggregateChange<Id>, Projection : RaptorProjection<Id>> RaptorAggregateProjectionStream.subscribeMessagesIn(scope: CoroutineScope, collector: suspend (message: RaptorAggregateProjectionStreamMessage<Id, Projection, Change>) -> Unit, changeClass: KClass<Change>, idClass: KClass<Id>, projectionClass: KClass<Projection>): Job
inline suspend fun <Id : RaptorAggregateProjectionId, Change : RaptorAggregateChange<Id>, Projection : RaptorProjection<Id>> RaptorAggregateProjectionStream.subscribeMessagesIn(scope: CoroutineScope, noinline collector: suspend (message: RaptorAggregateProjectionStreamMessage<Id, Projection, Change>) -> Unit): Job