effect-io-ai

Package: effect
Module: TPriorityQueue

TPriorityQueue.peek

Peeks at the first value in the queue without removing it, retrying until a value is in the queue.

Signature

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

Source

Since v2.0.0