Function add_progress

Source
pub fn add_progress(p: Peer, b: Badge, v: i16) -> Progress
Expand description

Add the given value to the progress for the badge.

May be negative if you want to decrease the progress. If zero, does not change the progress.

If the Peer is Peer::COMBINED, the progress is added to every peer and the returned value is the lowest progress.