Skip to main content

compute_status

Function compute_status 

Source
fn compute_status(block_id: &str) -> ProcessStatus
Expand description

Compute a block’s current ProcessStatus from today’s underlying sources. Pure with respect to its two inputs — the only I/O is the two read calls themselves (both cheap in-memory lock acquisitions, not blocking I/O — process_tracker’s registry and blockcontroller’s CONTROLLER_REGISTRY are both parking_lot/std sync locks guarding plain maps).