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

Method takeBetween

packages/effect/src/Queue.ts:160–160  ·  view source on GitHub ↗

* Takes a number of elements from the queue between the specified minimum and * maximum. If there are fewer than the minimum number of elements available, * suspends until at least the minimum number of elements have been collected.

(min: number, max: number)

Source from the content-addressed store, hash-verified

158 * suspends until at least the minimum number of elements have been collected.
159 */
160 takeBetween(min: number, max: number): Effect.Effect<Chunk.Chunk<A>>
161
162 readonly [Unify.typeSymbol]?: unknown
163 readonly [Unify.unifySymbol]?: DequeueUnify<this>

Callers 8

makeStorageFunction · 0.65
Queue.test.tsFile · 0.65
takeBetweenMethod · 0.65
queue.tsFile · 0.65
takeBetweenMethod · 0.65
fromQueueFunction · 0.65
EventLogServer.tsFile · 0.65
EventLog.tsFile · 0.65

Implementers 4

QueueSpypackages/effect/test/Sink/constructors
SubscriptionImplpackages/effect/src/internal/pubsub.ts
QueueImplpackages/effect/src/internal/queue.ts
MapDequeuepackages/effect/src/internal/groupBy.t

Calls

no outgoing calls

Tested by 1

takeBetweenMethod · 0.52