effect-io-ai

Package: effect
Module: MutableQueue

MutableQueue.capacity

The maximum number of elements that a queue can hold.

Note: unbounded queues can still implement this interface with capacity = Infinity.

Signature

declare const capacity: <A>(self: MutableQueue<A>) => number

Source

Since v2.0.0