Skip to content

WorkflowModule ​

dart
WorkflowModule({
  required String name,
  List<WorkflowHandler> workflows = const [],
  List<OperationHandler> operations = const [],
  List<Work> work = const [],
  List<Event> events = const [],
});

Install modules on WorkflowRuntime or WorkflowServerApplication. Registration is immutable after server start.

Definitions are implemented before they enter a module. Consequently, workflows contains WorkflowHandler values, while operations contains handlers created by Operation.implement(...). work and events register schema authority before a workflow reaches those durable boundaries.

WorkflowDescriptor is a graph type. New durable code does not use it.

See Also ​