Skip to main content

Module task

Module task 

Source

Structs§

TaskDefinition
A registered task definition with its metadata and executable function (legacy).
TaskRegistry
Registry holding all known task definitions for this application.

Traits§

CrossLanguageSafe
Marker trait for types that can safely cross language boundaries.
DynTask
Type-erased task interface for the TaskRegistry.
ForeignTask
A foreign task stub — represents a task implemented in another language.
Task
A distributable task with typed parameters and results.
TaskModule
A module that registers one or more tasks with a TaskRegistry.

Functions§

serialized_args_to_json
Reconstruct a single JSON string from per-key SerializedArguments.

Type Aliases§

TaskFn
A function that can be executed as a task (untyped, legacy).