UI-Router
About
Tutorials
Guide
API Docs
Resources
Blog
Queue | @uirouter/core
Search
Preparing search index...
The search index is not available
@uirouter/core
Options
Internal UI-Router API
Menu
@uirouter/core
common
Queue
Class Queue<T>
Type parameters
T
Hierarchy
Queue
Index
Constructors
constructor
Properties
_evict
Listeners
_items
_limit
on
Evict
Methods
clear
dequeue
enqueue
evict
peek
Head
peek
Tail
remove
size
Constructors
new
Queue
(
_items
?:
T[]
, _limit
?:
number
)
:
Queue
Parameters
_items:
Default value
T[]
= []
_limit:
Default value
number
= null
Returns
Queue
Properties
_evict
Listeners
:
function[]
= []
_items
:
T[]
_limit
:
number
on
Evict
:
function
= pushTo(this._evictListeners)
Type declaration
(
val
:
T
)
:
T
Parameters
val
T
Returns
T
Methods
clear
(
)
:
Array
<
T
>
Returns
Array
<
T
>
dequeue
(
)
:
T
Returns
T
enqueue
(
item
:
T
)
:
T
Parameters
item
T
Returns
T
evict
(
)
:
T
Returns
T
peek
Head
(
)
:
T
Returns
T
peek
Tail
(
)
:
T
Returns
T
remove
(
item
:
T
)
:
T
Parameters
item
T
Returns
T
size
(
)
:
number
Returns
number
@uirouter/core
Public API
common
core
params
resolve
state
transition
url
view
Internal UI-
Router API
"common/trace"
common_
hof
common_
predicates
common_
strings
hooks
path
vanilla
Queue
constructor
_evict
Listeners
_items
_limit
on
Evict
clear
dequeue
enqueue
evict
peek
Head
peek
Tail
remove
size
Generated using
TypeDoc