effect-io-ai

Package: effect
Module: TPriorityQueue

TPriorityQueue.takeOption

Takes a value from the queue, returning None if there is not a value in the queue.

Signature

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

Source

Since v2.0.0