mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
Make Conversion.cancel() cause execute() to throw (closes #271)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user