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

Function onReadable

packages/platform-node-shared/src/internal/stream.ts:265–267  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263
264 const latch = Effect.unsafeMakeLatch(false)
265 function onReadable() {
266 latch.unsafeOpen()
267 }
268 function onErr(err: unknown) {
269 exit.current = Exit.fail(onError(err))
270 latch.unsafeOpen()

Callers

nothing calls this directly

Calls 1

unsafeOpenMethod · 0.80

Tested by

no test coverage detected