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

Method takeBetween

packages/effect/src/internal/groupBy.ts:377–379  ·  view source on GitHub ↗
(min: number, max: number)

Source from the content-addressed store, hash-verified

375 }
376
377 takeBetween(min: number, max: number): Effect.Effect<Chunk.Chunk<B>> {
378 return pipe(Queue.takeBetween(this.dequeue, min, max), Effect.map(Chunk.map((a) => this.f(a))))
379 }
380
381 takeN(n: number): Effect.Effect<Chunk.Chunk<B>> {
382 return pipe(Queue.takeN(this.dequeue, n), Effect.map(Chunk.map((a) => this.f(a))))

Callers

nothing calls this directly

Calls 4

pipeFunction · 0.70
takeBetweenMethod · 0.65
mapMethod · 0.65
fMethod · 0.65

Tested by

no test coverage detected