Header menu logo FCQRS

AggregateRefs<'TCommand, 'TEvent> Type

The two C#-facing pieces of a wired aggregate: a Factory for entity refs (used by sagas to target the aggregate) and a Handler to send a command and await its event (used by the delivery layer). Returned by InitAggregate.

Record fields

Record Field Description

Factory

Full Usage: Factory

Field type: AggregateFactory
Field type: AggregateFactory

Handler

Full Usage: Handler

Field type: Handler<'TCommand, 'TEvent>
Field type: Handler<'TCommand, 'TEvent>

Type something to start searching.