MCPcopy Index your code
hub / github.com/Effect-TS/effect / getChildren

Method getChildren

packages/effect/src/internal/fiberRuntime.ts:393–398  ·  view source on GitHub ↗

* Gets the fiber's set of children.

()

Source from the content-addressed store, hash-verified

391 * Gets the fiber's set of children.
392 */
393 getChildren(): Set<FiberRuntime<any, any>> {
394 if (this._children === null) {
395 this._children = new Set()
396 }
397 return this._children
398 }
399
400 /**
401 * Retrieves the interrupted cause of the fiber, which will be `Cause.empty`

Callers 3

addChildMethod · 0.95
removeChildMethod · 0.95
childrenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected