Provides a standard enum for FetchStatus
and methods for resolving the status from multiple statuses.
Keys:
FetchStatus.NONE
FetchStatus.LOADING
FetchStatus.LOADED
FetchStatus.FAILED
Resolve a single status from multiple statuses for an initial case. Gives priority to FetchStatus.LOADED
and FetchStatus.LOADING
.
Resolve a single status from multiple statuses for a generic case. Gives priority to FetchStatus.FAILED
and FetchStatus.LOADED
.