MCPcopy Create free account
hub / github.com/effect-app/libs / onEnd

Function onEnd

repos/effect/packages/platform-node-shared/src/NodeStream.ts:353–356  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

351 latch.openUnsafe()
352 }
353 readable.on("readable", onReadable)
354 readable.once("error", onError)
355 readable.once("end", onEnd)
356
357 const pull = Effect.suspend(function loop(): Pull.Pull<Arr.NonEmptyReadonlyArray<A>, E> {
358 let item = options.readable.read(options.chunkSize) as A | null
359 if (item === null) {

Callers

nothing calls this directly

Calls 2

openUnsafeMethod · 0.65
failMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…