Queue | @uirouter/core
Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • Queue

Index

Constructors

constructor

  • new Queue(_items?: T[], _limit?: number): Queue

Properties

onEvict

onEvict: (val: T) => T = pushTo(this._evictListeners)

Type declaration

    • (val: T): T
    • Parameters

      • val: T

      Returns T

Methods

clear

  • clear(): Array<T>

dequeue

  • dequeue(): T

enqueue

  • enqueue(item: T): T

evict

  • evict(): T

peekHead

  • peekHead(): T

peekTail

  • peekTail(): T

remove

  • remove(item: T): T

size

  • size(): number

Generated using TypeDoc