Workflow<'TInput, 'TResult>Type
PackageFCQRS.Workflows
A C# workflow. Derive from it, give it a name, and write `Run` as an `async` method.
The name is stored in the journal and must not change.
Specification
Kind
Type
Members
3
Examples
0
``.ctor``Signature
Workflow(name)
RunSignature
this.Run
NameSignature
this.Name
Parameters
| Name | Type | Description |
|---|---|---|
| name | string |
Returns
Workflow<'TInput, 'TResult>
The workflow body. It must be deterministic: take time, GUIDs and random numbers from
the context, and do all I/O in activities.
Parameters
| Name | Type | Description |
|---|---|---|
| context | WorkflowContext | |
| input | 'TInput |
Returns
WorkflowTask<'TResult>