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

method cancel()

Usage:

Cancellation.cancel

Cancels the scheduled execution of a task before normal completion.

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite β€” the markup and publishing tools behind this site.