class

Cancel::Token

Inherits Reference < Object

A cancellation token is passed to an asynchronous or long running operation to request cancellation, like cancelling a request for completion items because the user continued to type.

To get an instance of a CancellationToken use a CancellationTokenSource.

Instance methods

cancelled!
Source
cancelled?

Checks if the token is cancelled, non-blocking

Source