async fn wait_reporting_progress(
jobs: &JobRegistry,
job: u64,
context: &RequestContext<RoleServer>,
) -> Option<JobStatus>Expand description
Waits for a job like JobRegistry::wait, sending the client a progress notification on each change of the job, if it asked for them.
Progress must always increase, but jobs report it from 0 to 100 on each of their stages, so each new stage adds 100 to it.