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

Generated from

Generated from Type/Cancellation.pod6