Skip to main content

consume_new_output

Function consume_new_output 

Source
fn consume_new_output(
    filestore: &FileStore,
    block_id: &str,
    state: &mut BlockState,
) -> bool
Expand description

Consume whatever has been appended to this block’s output since the last tick, folding it into state.

Returns false when there was nothing to do, so the caller can skip the rest of the work for this block.