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

Function patch

packages/effect/src/internal/supervisor/patch.ts:86–91  ·  view source on GitHub ↗
(
  self: SupervisorPatch,
  supervisor: Supervisor.Supervisor<any>
)

Source from the content-addressed store, hash-verified

84 * @internal
85 */
86export const patch = (
87 self: SupervisorPatch,
88 supervisor: Supervisor.Supervisor<any>
89): Supervisor.Supervisor<any> => {
90 return patchLoop(supervisor, Chunk.of(self))
91}
92
93/** @internal */
94const patchLoop = (

Callers 3

updateWithFunction · 0.50
finalizersMaskInternalFunction · 0.50
runtimeFlags.tsFile · 0.50

Calls 2

patchLoopFunction · 0.85
ofMethod · 0.65

Tested by

no test coverage detected