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. | |
Provides tokens and signals tokens cancellation.
Creates a token source.
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.