CVBpy 14.0
CancellationTokenSource Class Reference

Provides tokens and signals tokens cancellation. More...

Inherits object.

Public Member Functions

None cancel (self)
 Signals the tokens cancellation. More...
 

Properties

 token = property
 cvb.CancellationToken: Get a token for this source.
 

Detailed Description

Provides tokens and signals tokens cancellation.

Creates a token source.

Member Function Documentation

◆ cancel()

None cancel (   self)

Signals the tokens cancellation.

There is usually nothing that can fail. However, the C - API may produce an error that should not be ignored.