crnt - v0.0.31
    Preparing search index...

    Function newQueue

    • Creates a new Queue with the given capacity.

      Type Parameters

      • T

      Parameters

      • capacity: number = Infinity

        The maximum number of items the queue can hold. Defaults to Infinity.

      Returns Queue<T>

      A new Queue instance.