Skip to main content

Module runtime

Module runtime 

Source
Expand description

Task runtime module for the Foxtive supervisor

This module provides the core runtime functionality for supervising tasks, including task registration, dependency management, prerequisite handling, and supervision loops.

Structs§

SupervisionResult
Result of task supervision containing execution metadata
TaskEntry
Internal handle combining a task with its communication channels
TaskRuntime
The core runtime for managing supervised tasks.

Functions§

spawn_supervised
Spawn a single supervised task (fire and forget, no dependencies)
spawn_supervised_many
Spawn multiple supervised tasks (no inter-task dependencies)

Type Aliases§

PrerequisiteFuture
A boxed future that resolves to SupervisorResult<()>, used as a prerequisite gate before the supervisor starts any tasks.