IHaltable
- Namespace
- ZCore
This interface should be implemented by all objects that support halting
INTERFACE IHaltable
Properties
Halted
The object ended its cyclic method prematurely. Use this property to test, if the object corresponded successfully correctly to a halt command (usually issued by a CancellationToken).
PROPERTY Halted : BOOL
Property Value
- BOOL
Halting
The object is currently prematurely ending its cyclic method. Use this property to test, if the object corresponded correctly to a halt command (usually issued by a CancellationToken). Use the result to appropriately react. Sequences that should be halted, but do not support a dedicated halting mechanism, should either be waited for with a timeout or stopped.
PROPERTY Halting : BOOL
Property Value
- BOOL