cancelAllWork function

Future<bool> cancelAllWork()

Cancels all unfinished work.

Use this method with extreme caution! By invoking it, you will potentially affect other modules or libraries in your codebase. It is strongly recommended that you use one of the other cancellation methods at your disposal.

Implementation

Future<bool> cancelAllWork() => impl.cancelAllWork();