Struct FiberGroup

group of related fiber that may need to be killed together

struct FiberGroup ;

Properties

NameTypeDescription
closed[get] boolreport whether a fiber group is closed

Methods

NameDescription
close close the group (killing all fibers).
isCurrentFiberMember Return true if the current fiber is a member of the group
open Initialize a new fiber group
runTracked Perform a task inside the current fiber as part of the group.
spawnFiber Spawn a new fiber that will be a member of the group.
spawnFiberIfOpen Conditionally spawn a new fiber, only if the fiber group is currently open.
waitEmpty Wait for all fibers in a group to exit.

Inner structs

NameDescription
ExecutionResult 3state execution results type