(_runtimeFlags: RuntimeFlags.RuntimeFlags, child: FiberRuntime.FiberRuntime<any, any>)
| 48 | ) { |
| 49 | } |
| 50 | add(_runtimeFlags: RuntimeFlags.RuntimeFlags, child: FiberRuntime.FiberRuntime<any, any>): void { |
| 51 | this.parent.tell( |
| 52 | FiberMessage.stateful((parentFiber) => { |
| 53 | parentFiber.addChild(child) |
| 54 | child.addObserver(() => { |
| 55 | parentFiber.removeChild(child) |
| 56 | }) |
| 57 | }) |
| 58 | ) |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | /** @internal */ |
nothing calls this directly
no test coverage detected