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

    Class ValueRequestTracker<T>

    A container which keeps track of a replaceable RequestState of a known return type

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    error: Signal<Error | undefined> = ...

    Emits an error if the current RequestState is in an error state

    failed: Signal<boolean> = ...

    Emits true if the current RequestState has failed

    loading: Signal<boolean> = ...

    Emits true if the current RequestState is loading

    request: Signal<IValueRequestState<T>>

    The currently active RequestState

    Accessors

    Methods