Projection
@rotorsoft/act-root / act/src / Projection
Type Alias: Projection<TEvents>
Projection<
TEvents> =object
Defined in: libs/act/src/builders/projection-builder.ts:29
A self-contained projection grouping read-model update handlers.
Projections are composed into an Act orchestrator via act().withProjection(projection).
Type Parametersโ
TEventsโ
TEvents extends Schemas
Event schemas handled by this projection
Propertiesโ
_tagโ
readonly_tag:"Projection"
Defined in: libs/act/src/builders/projection-builder.ts:30
batchHandler?โ
readonlyoptionalbatchHandler?:BatchHandler<TEvents>
Defined in: libs/act/src/builders/projection-builder.ts:33
eventsโ
readonlyevents:EventRegister<TEvents>
Defined in: libs/act/src/builders/projection-builder.ts:31
target?โ
readonlyoptionaltarget?:string
Defined in: libs/act/src/builders/projection-builder.ts:32