class Cancellation

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

Defined as:

method cancel()

Usage:

Cancellation.cancel

Cancels the scheduled execution of a task before normal completion.

Type Graph

Type relations for Cancellation
perl6-type-graph Cancellation Cancellation Any Any Cancellation->Any Mu Mu Any->Mu

Expand above chart