Table of Contents

Interface IWorkflow<TData>

Namespace
Millrace.Workflows
Assembly
Millrace.dll

A workflow definition: registered code, keyed by Id and Version.

public interface IWorkflow<TData>

Type Parameters

TData

Remarks

Definitions are code, not data (§6.1) — the graph shape exports to JSON, but the definition itself is a registered type. (Id, Version) is the key: in-flight instances always finish on the version they started with, so old versions stay registered until their instances drain.

Properties

Id

Stable identity of the workflow, the same across all its versions.

Version

Version of this definition, counting from 1.

Methods

Build(IWorkflowBuilder<TData>)

Declares the shape of the workflow.