ExecutionState

These are the possible execution states of a fiber.

Parameters

indicatesSuspension

Whether this state indicates a suspended fiber.

indicatesTermination

Whether this state indicates a terminated fiber.

Entries

Link copied to clipboard

The fiber has not been started.

Link copied to clipboard

The fiber is running or waiting for another fiber to yield.

Link copied to clipboard

The fiber has been suspended.

Link copied to clipboard

The fiber has been interrupted.

Link copied to clipboard

The fiber has been parked.

Link copied to clipboard

The fiber is asleep.

Link copied to clipboard

The fiber was RUNNING, but was paused by an AvailDebuggerModel.

Link copied to clipboard

The fiber was PAUSED, but the attached AvailDebuggerModel is attempting (while holding the fiber's lock) to queue an AvailTask which will make it execute.

Link copied to clipboard

The fiber has terminated successfully.

Link copied to clipboard

The fiber has aborted (due to an exception).

Link copied to clipboard

The fiber has run either its result continuation or its failure continuation. This state is permanent.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Determine if this is a valid successor state.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.