Header menu logo FCQRS

FcqrsRuntime Type

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.

Constructors

Constructor Description

FcqrsRuntime(actor)

Full Usage: FcqrsRuntime(actor)

Parameters:
Returns: FcqrsRuntime
actor : IActor
Returns: FcqrsRuntime

Instance members

Instance member Description

this.Actor

Full Usage: this.Actor

Returns: IActor

The live actor system.

Returns: IActor

this.Factory

Full Usage: this.Factory

Parameters:
Returns: AggregateFactory

The entity-ref factory of a registered aggregate.

shardType : Type
Returns: AggregateFactory

this.Refs

Full Usage: this.Refs

Parameters:
Returns: AggregateRefs<'TCommand, 'TEvent>

The typed refs of a registered aggregate.

shardType : Type
Returns: AggregateRefs<'TCommand, 'TEvent>

this.Register

Full Usage: this.Register

Parameters:

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

shardType : Type
factory : AggregateFactory
boxedRefs : obj

this.Subscription

Full Usage: this.Subscription

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

Type something to start searching.