eneural-net / async_task

Asynchronous tasks and parallel executors, supporting all Dart platforms (JS/Web, Flutter, VM/Native) through transparent internal implementations with `dart:isolate` or only `dart:async`, easily bringing concepts similar to Thread Pools to Dart, without having to deal with `Isolate` and port/channel complexity.
Apache License 2.0
53 stars 4 forks source link

feat request: task cancel #11

Open jiangtian616 opened 2 years ago

jiangtian616 commented 2 years ago

Thanks for your awesome work! And i wonder is there any way to cancel a submitted task(in queue or is being executed)? I tried but didn't find.

My scene is to download images in the background and want download task can be cancelled by user :)