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.

Typegraph§

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

Expand chart above