To make a future cancellable, use: let (future, canceller) = crate::tools::futures::cancellable(future); Proceed with using `future` as usual, `canceller` is clonable and can cancel the future via the `.cancel()` method. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Description
No description provided
Languages
Rust
88.1%
JavaScript
11.3%
Makefile
0.3%
CSS
0.2%