Public Member Functions | Properties | List of all members
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. More...
 

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.

Property Documentation

◆ token

token = property
static

cvb.CancellationToken: Get a token for this source.