An observable FIFO queue

Type Parameters

  • T

Implements

  • Disposable

Constructors

Properties

back$: Observable<undefined | T>

Observable returning the element at the back of the queue

backDelta$: Observable<ObservableQueueDelta<T>>

Observable returning the current back element and whether it was just added

empty$: Observable<boolean>

An observable emitting true if there are no items in the queue

front$: Observable<undefined | T>

Observable returning the element at the front of the queue

frontDelta$: Observable<ObservableQueueDelta<T>>

Observable returning the current front element and whether it was just added

itemAdded$: Observable<ObservableQueueItem<T>>

Emits for every item that is added to the list

itemDelta$: Observable<ObservableQueueItemChange<T>>

Emits for every item that is updated in the list, including the changes from an empty list to the current state

itemRemoved$: Observable<ObservableQueueItem<T>>

Emits for every item that is removed from the list

items$: Observable<T[]> = ...

An observable emitting the items of the queue

itemUpdates$: Observable<ObservableQueueItemChange<T>>

Emits for every item that is updated in the list

length$: Observable<number>

An observable emitting the number of items in the queue

updates$: Observable<T[]>

Emits all updates to the queue

Accessors

Methods