Table of Contents

IHaltable

Namespace
ZCore
INTERFACE IHaltable

This interface should be implemented by all objects that support halting

Properties

Halted

PROPERTY Halted : BOOL

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 Value

BOOL

Halting

PROPERTY Halting : BOOL

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 Value

BOOL