WorkflowEnded<'Result>Type
PackageFCQRS.Workflows
How one element's workflow ended, as `WorkflowFlow.Run` emits it to C#.
Specification
Kind
Type
Members
7
Examples
0
``.ctor``Signature
WorkflowEnded(id, outcome)
IsCancelledSignature
this.IsCancelled
IsFinishedSignature
this.IsFinished
ResultSignature
this.Result
IsFaultedSignature
this.IsFaulted
Summary
| Name | Signature | Synopsis |
|---|---|---|
| ``.ctor`` | WorkflowEnded(id, outcome) | No description available. |
| IsCancelled | this.IsCancelled | True when the workflow was cancelled. |
| IsFinished | this.IsFinished | True when the body returned a value. |
| Result | this.Result | The body's return value when `IsFinished` is true, and the type's default otherwise. |
| IsFaulted | this.IsFaulted | True when the body threw an exception it did not handle. |
| Id | this.Id | The workflow ID computed from the element. |
| Error | this.Error | The stored failure when `IsFaulted` is true, and null otherwise. |
Parameters
| Name | Type | Description |
|---|---|---|
| id | string | |
| outcome | WorkflowOutcome<'Result> |
Returns
WorkflowEnded<'Result>
The body's return value when `IsFinished` is true, and the type's default otherwise.
Returns
'Result