TStopToken Class
The stop token the host hands to a worker. Public so that a test can drive a worker without a host.
Syntax
Unit: Sparkle.Host.Contracts
TStopToken = class(TInterfacedObject, ICancellationToken, IStopToken);
Methods
| Name | Description |
|---|---|
| Signal | Requests the stop. Safe from any thread, and more than once. |