MCPcopy
hub / github.com/Effect-TS/effect / f

Function f

packages/effect/test/Stream/taking.test.ts:66–66  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

64 Effect.gen(function*() {
65 const stream = Stream.range(1, 5)
66 const f = (n: number) => n % 3 === 0
67 const { result1, result2 } = yield* (Effect.all({
68 result1: pipe(stream, Stream.takeUntil(f), Stream.runCollect),
69 result2: pipe(

Callers 4

taking.test.tsFile · 0.70
withLatchFunction · 0.50
withLatchAwaitFunction · 0.50
unfoldEffectLoopFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected