Desktop notifications in macOS #285

This commit is contained in:
Roey Darwish Dror
2020-01-03 10:26:21 +02:00
committed by GitHub
parent 27e98a3815
commit b049151993
4 changed files with 118 additions and 4 deletions

View File

@@ -33,6 +33,7 @@ where
F: Fn() -> Result<()>,
M: Into<Cow<'a, str>> + Debug,
{
let key = key.into();
debug!("Step {:?}", key);
loop {
@@ -51,7 +52,7 @@ where
}
let should_ask = interrupted || !no_retry;
let should_retry = should_ask && should_retry(interrupted)?;
let should_retry = should_ask && should_retry(interrupted, key.as_ref())?;
if !should_retry {
report.push_result(Some((key, false)));