Skip to main content

Module task

Module task 

Source
Expand description

Generic application workloads behind one uniform runtime definition.

Application authors implement the crate-root ExecutionUnit contract and register the implementation with #[scientific_workflow::execution_unit("key")]. Study creates execution-unit tasks from registrations plus resolved constants and creates program tasks directly from declarative executable paths. Python declarations are lowered by Config to the same program boundary. All use one private Task definition; adapters and execution ports remain crate-private.

Modules§

dependencies
Typed, immutable results supplied to a task by its declared dependencies.
project
Accessors for Workflow’s required project layout and resolved program snapshots.

Structs§

InitializationContext
Immutable dependency results, execution facts, and optional seed derivation.
MemberCompletion
The optional completion declaration for one execution-unit member.
MemberView
A borrowed view of one independently stateful member inside an execution unit.

Enums§

SeedError
Failure to make or validate a deterministic initialization seed request.

Traits§

ExecutionUnit
One schedulable scientific execution containing one or more members.

Type Aliases§

UnitResult
The result returned by application-defined execution-unit operations.