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

Function pull

packages/effect/src/internal/stream.ts:7277–7282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7275 })
7276 },
7277 pull() {
7278 return new Promise<void>((resolve) => {
7279 currentResolve = resolve
7280 Effect.runSync(latch.open)
7281 })
7282 },
7283 cancel() {
7284 if (!fiber) return
7285 return Effect.runPromise(Effect.asVoid(Fiber.interrupt(fiber)))

Callers

nothing calls this directly

Calls 7

pipeFunction · 0.70
mergeFunction · 0.70
zipFunction · 0.70
mapMethod · 0.65
zipMethod · 0.65
failMethod · 0.65
isEmptyMethod · 0.65

Tested by

no test coverage detected