Removal of a task from a Scheduler before normal completion
my class Cancellation {}
A low level part of the Raku concurrency
system. Some Scheduler objects return a Cancellation with the
.cue method which can be used to cancel the
scheduled execution before normal completion. Cancellation.cancelled is a
Boolean that is true after cancel is called.
Methods
method cancel
method cancel()
Usage:
Cancellation.cancel
Cancels the scheduled execution of a task before normal completion.