Skip to main content

push_unit

Function push_unit 

Source
fn push_unit(
    engine: &mut Engine<'_>,
    report: &Reporter<'_>,
    unit: Pending,
    owed: Option<Deferred>,
) -> Push
Expand description

Push one unit and record exactly one ledger entry against it.

The single place both happen, so DeferredEffects::len() == PendingQueue::len() holds by construction rather than by review.