Skip to main content

Module eval

Module eval 

Source
Expand description

The interpreter for value nodes: a recursive match over the plan’s node array, over one flat frame per activation.

Structs§

EvalStats
Evaluation counters.
Machine
One worker’s evaluation state.

Constants§

WORK_POLL_UNITS
Charged units between polls of the installed WorkControl. Every charge counts at least one unit, so the checkpoint runs at least once per this many charges and before any charge that would carry the units since the last poll to this bound. The first charge after Machine::set_work_control, and every charge after a refused poll, polls at once.

Traits§

WorkControl
An optional cooperative work checkpoint. A false result only interrupts the machine; the caller must classify its own actual run authority.