ProjectionProgressUnion

PackageFCQRS
A read-model projection definition. Where a projection keeps how far it has read.

Specification

Kind
Union
Members
4
Examples
0
IsNamedSignature
this.IsNamed
IsFromStartSignature
this.IsFromStart
FromStartSignature
FromStart
NamedSignature
Named string

Summary

NameSignatureSynopsis
IsNamedthis.IsNamedNo description available.
IsFromStartthis.IsFromStartNo description available.
FromStartFromStartIn memory: the projection reads the whole journal each time it starts, then follows new events.
NamedNamed stringStored in the journal database under this name: the projection resumes where it stopped.

IsNamed

this.IsNamed
Member

Returns

bool

IsFromStart

this.IsFromStart
Member

Returns

bool

FromStart

FromStart
Member
In memory: the projection reads the whole journal each time it starts, then follows new events. For a read model the process keeps in memory.

Returns

unit

Named

Named string
Member
Stored in the journal database under this name: the projection resumes where it stopped. For a read model that outlives the process. A new name reads the whole journal once.

Parameters

NameTypeDescription
Itemstring

Returns

unit