(waker: Waker, config: CheckUpdateConfig)
| 43 | } |
| 44 | |
| 45 | pub fn start_check_update(waker: Waker, config: CheckUpdateConfig) -> JobState { |
| 46 | start_job(waker, "Check for updates", Job::CheckUpdate, move |context, cancel| { |
| 47 | run_check_update(&context, cancel, config) |
| 48 | .map(|result| JobResult::CheckUpdate(Some(result))) |
| 49 | }) |
| 50 | } |
nothing calls this directly
no test coverage detected