Struct FiberGroup
group of related fiber that may need to be killed together
Properties
Name | Type | Description |
closed [get]
|
bool | report whether a fiber group is closed
|
Methods
Name | Description |
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.
|