Skip to main content

Module task_scheduler

Module task_scheduler 

Source
Expand description

Bounded local deferred tasks. Execution is synchronous on the admitted AST engine.

No remote execution, continuation suspension or human delegation is implied. TaskScope is runtime state; record fields never confer ownership. Env clones share the scope (including committed effects); independently defaulted environments do not.

Structs§

TaskRegistrySummary
TaskScope
Opaque runtime ownership, independent of authored owner fields and human authority.

Functions§

advance_logical_clock_ms
Advance the deterministic logical/Lamport clock by delta_ms milliseconds.
apply_task_timeout
await_scheduled_value
await_value_standalone
cancel_scheduled_task
extract_task_id
is_task_record
logical_clock_ms
Current deterministic logical/Lamport clock value in milliseconds.
query_task_status
registry_summary
spawn_scheduled_task
Legacy facade: callers without an admitted runtime scope fail before execution.