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

Method addChild

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

* Adds a reference to the specified fiber inside the children set. * * **NOTE**: This method must be invoked by the fiber itself.

(child: FiberRuntime<any, any>)

Source from the content-addressed store, hash-verified

623 * **NOTE**: This method must be invoked by the fiber itself.
624 */
625 addChild(child: FiberRuntime<any, any>) {
626 this.getChildren().add(child)
627 }
628
629 /**
630 * Removes a reference to the specified fiber inside the children set.

Callers 1

addMethod · 0.80

Calls 2

getChildrenMethod · 0.95
addMethod · 0.65

Tested by

no test coverage detected