pub fn watching<T>( watcher: impl FnMut(&Progress<'_>) -> bool + 'static, f: impl FnOnce() -> T, ) -> T
Runs f with watcher told how far it is, and asked whether to go on.
f
watcher