isCancelled property
inherited
Whether cancellation was requested for the current execution.
Cancellation is cooperative: onInvoke is never interrupted. Check this
flag after asynchronous gaps and stop early. While it is true,
JController.update ignores state updates made by this intent, either
with an explicit origin or from code running inside onInvoke (see
current), so a superseded execution cannot overwrite newer state. Work
scheduled outside that zone is not attributed to the intent. Effects are
not filtered. The flag resets when the intent is invoked again.
Implementation
bool get isCancelled => _isCancelled;