TargetActorUnion

PackageFCQRS
Represents the target of a command execution triggered by a saga.

Specification

Kind
Union
Members
8
Examples
0
IsFactoryAndNameSignature
this.IsFactoryAndName
IsSelfSignature
this.IsSelf
IsSenderSignature
this.IsSender
IsActorRefSignature
this.IsActorRef
FactoryAndNameSignature
FactoryAndName FactoryAndName

Summary

NameSignatureSynopsis
IsFactoryAndNamethis.IsFactoryAndNameNo description available.
IsSelfthis.IsSelfNo description available.
IsSenderthis.IsSenderNo description available.
IsActorRefthis.IsActorRefNo description available.
FactoryAndNameFactoryAndName FactoryAndNameSpecifies the target using a factory function and name.
ActorRefActorRef objSpecifies the target using its direct IActorRef (usually boxed as obj).
SenderSenderSpecifies the target as the original sender of the message that triggered the current saga step.
SelfSelfSpecifies the target as the current saga actor itself.

IsFactoryAndName

this.IsFactoryAndName
Member

Returns

bool

IsSelf

this.IsSelf
Member

Returns

bool

IsSender

this.IsSender
Member

Returns

bool

IsActorRef

this.IsActorRef
Member

Returns

bool

FactoryAndName

FactoryAndName FactoryAndName
Member
Specifies the target using a factory function and name.

Parameters

NameTypeDescription
ItemFactoryAndName

Returns

unit

ActorRef

ActorRef obj
Member
Specifies the target using its direct IActorRef (usually boxed as obj).

Parameters

NameTypeDescription
Itemobj

Returns

unit

Sender

Sender
Member
Specifies the target as the original sender of the message that triggered the current saga step. NOTE: side effects run inside persist re-injections, where the ambient sender is the journal actor, or in the subscription-ack re-drive, where it is the pub-sub mediator — never the original trigger. Commands to Sender therefore dead-letter; the saga logs a warning at resolution. Use FactoryAndName with Originator to reach the originator instead.

Returns

unit

Self

Self
Member
Specifies the target as the current saga actor itself.

Returns

unit