FcqrsRuntimeType

PackageFCQRS
Runtime registry, populated once at host startup. Holds the live actor system, each aggregate's factory + refs (keyed by the aggregate's CLR type) and the projection subscription. Resolved from DI so endpoints can pull the Handlers / the subscription, and saga registrations can look up the aggregates they wire.

Specification

Kind
Type
Members
6
Examples
0
``.ctor``Signature
FcqrsRuntime(actor)
FactorySignature
this.Factory
RefsSignature
this.Refs
RegisterSignature
this.Register
SubscriptionSignature
this.Subscription

Summary

NameSignatureSynopsis
``.ctor``FcqrsRuntime(actor)No description available.
Factorythis.FactoryThe entity-ref factory of a registered aggregate.
Refsthis.RefsThe typed refs of a registered aggregate.
Registerthis.RegisterRecord an aggregate's wiring under its CLR type (called at startup).
Subscriptionthis.SubscriptionThe projection subscription, set when the projection step runs at startup.
Actorthis.ActorThe live actor system.

``.ctor``

FcqrsRuntime(actor)
Member

Parameters

NameTypeDescription
actorIActor

Returns

FcqrsRuntime

Factory

this.Factory
Member
The entity-ref factory of a registered aggregate.

Parameters

NameTypeDescription
shardTypeType

Returns

AggregateFactory

Refs

this.Refs
Member
The typed refs of a registered aggregate.

Parameters

NameTypeDescription
shardTypeType

Returns

AggregateRefs<'TCommand, 'TEvent>

Register

this.Register
Member
Record an aggregate's wiring under its CLR type (called at startup).

Parameters

NameTypeDescription
shardTypeType
factoryAggregateFactory
boxedRefsobj

Returns

unit

Subscription

this.Subscription
Member
The projection subscription, set when the projection step runs at startup.

Returns

ISubscribe

Actor

this.Actor
Member
The live actor system.

Returns

IActor