Skip to main content

Module driver

Module driver 

Source
Expand description

The interpreter task driver.

InterpreterTask wraps one suspended interpreter future (an async execution that owns its own crate::interpreter::Interpreter) as a scheduler [Task]. On each poll it delivers the scheduler’s resume value into the side-channel, drives the future to its next suspension, and maps the interpreter’s BlockingRequest to a scheduler [TaskStep].

Structs§

InterpreterTask
Drives one interpreter task on the scheduler.

Type Aliases§

ErrSink
A shared cell the first failing task writes its error into.