cancelWork function

Future<bool> cancelWork(
  1. String identifier
)

Cancels all unfinished work with the given identifier.

Note that cancellation is a best-effort policy and work that is already executing may continue to run.

Implementation

Future<bool> cancelWork(String identifier) => impl.cancelWork(identifier);