WorkflowHostType
PackageFCQRS.Workflows
Registers C# workflows.
Specification
Kind
Type
Members
2
Examples
0
DefineSignature
WorkflowHost.Define(workflow)
RegisterSignature
WorkflowHost.Register(actor, workflow)
The workflow as a definition F# code can register, start as a child, or put in a stream.
Parameters
| Name | Type | Description |
|---|---|---|
| workflow | Workflow<'TInput, 'TResult> |
Returns
WorkflowDefinition<'TInput, 'TResult>
Registers the workflow with the actor system and returns its client. Instances that were
running when the process last stopped resume as soon as this is called.
Parameters
| Name | Type | Description |
|---|---|---|
| actor | IActor | |
| workflow | Workflow<'TInput, 'TResult> |
Returns
IWorkflowClient<'TInput, 'TResult>