how to Pause or Cancel when you call repo.backup()
?
#339
Labels
S-triage
Status: Waiting for a maintainer to triage this issue/PR
repo.backup()
?
#339
how to Pause or Cancel when you call
repo.backup()
?I saw that the source code implementation used a blocking API.
Can you consider using
tokio
, as JoinHandle supports the use of asynchronous functions to forcibly cancel externally.and.... At present, most libraries use async. If I want to support a backend myself
for example:
currently
The way for me to cancel a task is to use panic in the inc function of Progress to stop the task
The text was updated successfully, but these errors were encountered: