Skip to main content

Module work

Module work 

Source

Structs§

WorkCancellationToken
Cooperative cancellation token exposed through the active work context.
WorkContext
Opaque evaluator-thread context for one native work scope.
WorkHost
Cloneable process-owned host for live work handles.
WorkHostStatus
Process-host lifecycle metadata.
WorkId
Validated portable identifier for one native work run.
WorkOptions
Submission-time scope and deadline options.
WorkRun
Live process-owned handle returned immediately from submission.
WorkRunStatus
Non-blocking status snapshot for a live work run.

Enums§

WorkRunState
Monotonic state of a live native work run.

Functions§

current_work_context
Return the currently executing cooperative work context, if any.
monotonic_nanos
process_work_host
Return the process/evaluator-thread host shared by independent sessions.