Make Conversion.cancel() cause execute() to throw (closes #271)

This commit is contained in:
Vanilagy
2026-01-12 15:13:00 +01:00
parent 78e78e5b4f
commit 24af125415
4 changed files with 22 additions and 4 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ Sometimes, you may want to cancel an ongoing conversion process. For this, use t
await conversion.cancel(); // Resolves once the conversion is canceled
```
This automatically frees up all resources used by the conversion process.
This automatically frees up all resources used by the conversion process and will cause any ongoing call to `execute` to throw a `ConversionCanceledError`.
## Video options