Skip to main content

Module task

Module task 

Source
Expand description

The POST /v1/tasks entry point — see task::TaskApplication. TaskApplication — the POST /v1/tasks entry point.

Input: BlueprintRef (Inline / Id) plus a TaskSpec. Output: (CapToken, TaskId, version). Once the Blueprint is resolved, the engine-side operations (bind + attach + start_task) are delegated to [TaskLaunchService].

Structs§

TaskApplication
The POST /v1/tasks Application — resolves a BlueprintRef and runs it to completion through TaskLaunchService.
TaskApplicationInput
Input to TaskApplication::handle — the POST /v1/tasks request body once decoded.
TaskApplicationOutput
Result of a successful TaskApplication::handle call.

Enums§

BlueprintRef
How a task entry says the Blueprint should be resolved.
TaskApplicationError
Failure modes of TaskApplication::handle and TaskApplication::resolve.
VersionSelector
How to pick a generation — a version inside the store.