TCancellationTokenSource Class
The standard implementation of ICancellationTokenSource.
Remarks
Reference counted: hold it in an ICancellationTokenSource variable.
Syntax
Unit: Bcl.Cancellation
TCancellationTokenSource = class(TInterfacedObject, ICancellationTokenSource);
Constructors
| Name | Description |
|---|---|
| Create | Overloaded Create Create(Cardinal) |
Methods
| Name | Description |
|---|---|
| CreateLinked | Creates a source that is canceled as soon as any of ATokens is, in addition to its own Cancel and CancelAfter. |