CarryingFiber.state

Safely returns the state of the fiber, taking into consideration it may have been reset.

class CarryingFiber(T)
state
()

Return Value

Type: auto

Fiber.State.TERM if the fiber has been reset; the state of the underlying Fiber otherwise.