Skip to main content

advance

Function advance 

Source
pub fn advance()
Expand description

Advance progress by one step and notify the callback (if set). Step is capped at total to avoid displaying values like “84/15”. When total is 0 (indeterminate), step still advances freely so that the UI can show activity; init() with the real total will follow.