Fibers

over

fun over() > bool

Returns: true once the fiber has completed or has been cancelled

cancel

fun cancel() > void

Mark the fiber as over, preventing further resume or resolve. The main fiber cannot be cancelled.

isMain

fun isMain() > bool

Returns: true if this fiber is the main fiber

Last Updated:
Contributors: Benoit Giannangeli