Table of Contents

Method Parallel

Namespace
Millrace.Workflows
Assembly
Millrace.dll

Parallel(params Action<IWorkflowBuilder<TData>>[])

Runs branches concurrently, each as its own chain of jobs, and continues once all complete.

IWorkflowBuilder<TData> Parallel(params Action<IWorkflowBuilder<TData>>[] branches)

Parameters

branches Action<IWorkflowBuilder<TData>>[]

Returns

IWorkflowBuilder<TData>

Remarks

Branches should write disjoint regions of the document: each branch checkpoint merges under optimistic concurrency, and a conflict retries the merge rather than the activity (§6.2).