.. index:: pair: enum; TaskState .. _doxid-namespace_e_e_1ac2db4385f16b83a7a553865c98c38128: enum EE::TaskState ================== Terminal and non-terminal states of a :ref:`Task `. Abandoned is an infrastructure-contract failure: the producer was destroyed without resolving. It is not a domain error and must not be used as control flow. Domain outcomes such as cancellation or I/O errors belong in the value type (for example Result). .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include enum TaskState: :ref:`Uint8` { :target:`Pending`, :target:`Ready`, :target:`Abandoned`, };