effect-io-ai

Package: effect
Module: TQueue

TQueue.peek

Views the next element in the queue without removing it, retrying if the queue is empty.

Signature

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

Source

Since v2.0.0