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

Function result

repos/effect/packages/effect/src/Stream.ts:2181–2185  ·  view source on GitHub ↗
(self: Stream<A, E, R>)

Source from the content-addressed store, hash-verified

2179 upstreamLatch.openUnsafe()
2180 return Effect.as(sinkLatch.await, chunk_)
2181 }),
2182 Pull.catchDone(() => {
2183 streamDone = true
2184 sinkLatch.closeUnsafe()
2185 upstreamLatch.openUnsafe()
2186 return Effect.flatMap(sinkLatch.await, () => Cause.done())
2187 })
2188 )

Callers

nothing calls this directly

Calls 4

succeedFunction · 0.70
pipeMethod · 0.65
mapFunction · 0.50
failMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…