JanetDocsPlaygroundI'm feeling luckyGitHub sign in

fiber/status



    cfunction
    src/core/fiber.c on line 580, column 1

    (fiber/status fib)

    Get the status of a fiber. The status will be one of:

    * :dead - the fiber has finished
    * :error - the fiber has errored out
    * :debug - the fiber is suspended in debug mode
    * :pending - the fiber has been yielded
    * :user(0-9) - the fiber is suspended by a user signal
    * :alive - the fiber is currently running and cannot be resumed
    * :new - the fiber has just been created and not yet run


0 examplesSign in to add an example
Loading...