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
| Name | Signature | Synopsis |
|---|---|---|
| IsFactoryAndName | this.IsFactoryAndName | No description available. |
| IsSelf | this.IsSelf | No description available. |
| IsSender | this.IsSender | No description available. |
| IsActorRef | this.IsActorRef | No description available. |
| FactoryAndName | FactoryAndName FactoryAndName | Specifies the target using a factory function and name. |
| ActorRef | ActorRef obj | Specifies the target using its direct IActorRef (usually boxed as obj). |
| Sender | Sender | Specifies the target as the original sender of the message that triggered the current saga step. |
| Self | Self | Specifies the target as the current saga actor itself. |
Specifies the target using a factory function and name.
Parameters
| Name | Type | Description |
|---|---|---|
| Item | FactoryAndName |
Returns
unit
Specifies the target using its direct IActorRef (usually boxed as obj).
Parameters
| Name | Type | Description |
|---|---|---|
| Item | obj |
Returns
unit
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