@juulsgaard/signal-tools
    Preparing search index...

    Class SignalQueue<T>

    A signal FIFO queue

    Type Parameters

    • T
    Index

    Constructors

    Properties

    back: Signal<T | undefined>

    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<T | undefined>

    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