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

Method takeUpTo

packages/effect/test/Sink/constructors.test.ts:176–178  ·  view source on GitHub ↗
(max: number)

Source from the content-addressed store, hash-verified

174 }
175
176 takeUpTo(max: number): Effect.Effect<Chunk.Chunk<A>> {
177 return Queue.takeUpTo(this.backingQueue, max)
178 }
179
180 takeBetween(min: number, max: number): Effect.Effect<Chunk.Chunk<A>> {
181 return Queue.takeBetween(this.backingQueue, min, max)

Callers

nothing calls this directly

Calls 1

takeUpToMethod · 0.65

Tested by

no test coverage detected