Fiber.State

//////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// A fiber may occupy one of three states: HOLD, EXEC, and TERM.

Values

ValueMeaning
HOLD

The HOLD state applies to any fiber that is suspended and ready to be called.

EXEC

The EXEC state will be set for any fiber that is currently executing.

TERM

The TERM state is set when a fiber terminates. Once a fiber terminates, it must be reset before it may be called again.

Meta