effect-io-ai

Package: effect
Module: Queue

Queue.take

Takes the oldest value in the queue. If the queue is empty, this will return a computation that resumes when an item has been added to the queue.

Signature

declare const take: <A>(self: Dequeue<A>) => Effect.Effect<A>

Source

Since v2.0.0