A signal FIFO queue

Type Parameters

  • T

Constructors

Properties

back: Signal<undefined | T>

Signal returning the element at the back of the queue

backDelta: Signal<SignalQueueDelta<T>>

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

empty: Signal<boolean> = ...

A signal emitting true if there are no items in the queue

front: Signal<undefined | T>

Signal returning the element at the front of the queue

frontDelta: Signal<SignalQueueDelta<T>>

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

items: Signal<T[]> = ...

A signal emitting the items of the queue

length: Signal<number> = ...

A signal emitting the number of items in the queue

Accessors

Methods