Package: effect
Module: TQueue
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: TDequeue<A>) => STM.STM<A>
Since v2.0.0