RefQueueExt<T> extension
Reactive extensions for a Ref that stores a Queue.
Every mutation will call notifyChange() to ensure reactivity updates.
The API mirrors the native Queue mutation methods.
Methods
-
add(
T value) → void -
Available on Ref<
Adds an element to the end of the queue.Queue< , provided by the RefQueueExt extensionT> > -
addFirst(
T value) → void -
Available on Ref<
Adds an element to the front of the queue.Queue< , provided by the RefQueueExt extensionT> > -
clear(
) → void -
Available on Ref<
Clears all elements in the queue.Queue< , provided by the RefQueueExt extensionT> > -
removeFirst(
) → T -
Available on Ref<
Removes and returns the first element.Queue< , provided by the RefQueueExt extensionT> > -
removeLast(
) → T -
Available on Ref<
Removes and returns the last element.Queue< , provided by the RefQueueExt extensionT> >