effect-io-ai

Package: effect
Module: TQueue

TQueue.takeAll

Takes all the values in the queue and returns the values. If the queue is empty returns an empty collection.

Signature

declare const takeAll: <A>(self: TDequeue<A>) => STM.STM<Array<A>>

Source

Since v2.0.0