Provides tokens and signals tokens cancellation. More...
Public Member Functions | |
| None | CancellationTokenSource (self) |
| Creates a token source. | |
| None | cancel (self) |
| Signals the tokens cancellation. | |
Properties | |
| token = property | |
| cvb.CancellationToken: Get a token for this source. | |
Provides tokens and signals tokens cancellation.
| 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.