Private constructorPrivate Readonly internalProtected statusThis returns true if the predicate returns true for every element of data.
It is synonymous with every
an error if no response has been received
This returns true if the predicate returns true for any element of data.
It is synonymous with some
an error if no response has been received
Private cloneThis returns true if the predicate returns true for every element of data.
It is synonymous with all
an error if no response has been received
Private getCheck the status of the data request
Private isThis returns true if the predicate returns true for any element of data.
It is synonymous with any
an error if no response has been received
Sorts the elements of data, according to compareFn
Note that this does not sort the elements in place
Optional compareFn: ((a, b) => number)The comparison function to be applied to the data elements. See Array.sort documentation for more detail
an error if no response has been received
Static erroredStatic loadedCreate an instance of this type that indicates that some data has been returned by the request.
NB: There is nothing here that asserts that the request is complete. This factory method can be called multiple times to indicate loading data in progress.
Static loadedStatic loadingStatic not
This class represents data from a remote source that takes time to load.
It can be single-valued or an array of values. The caller is expected to know which it is