MCPcopy Create free account
hub / github.com/Effect-TS/effect / pull

Function pull

packages/effect/src/Stream.ts:10965–10970  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10963 })
10964 },
10965 pull() {
10966 return new Promise<void>((resolve) => {
10967 currentResolve = resolve
10968 latch.openUnsafe()
10969 })
10970 },
10971 cancel() {
10972 if (!fiber) return
10973 return Effect.runPromise(Effect.asVoid(Fiber.interrupt(fiber)))

Callers

nothing calls this directly

Calls 1

openUnsafeMethod · 0.65

Tested by

no test coverage detected