combineStatuses API
These docs are auto-generated from typings files (
*.d.ts).
combineStatuses
Given the many statues, returns a single status that uses the following logic:
- If all the statuses are
UNKNOWNthen the resulting status will includeUNKNOWN - If one of the statuses includes
LOADINGthen the resulting status will includeLOADING - If all the statuses include
NORMALthen the resulting status will includeNORMAL - If one of the statuses includes
ERRORthen the resulting status will includeERROR
function combineStatuses(...statues: number[]): number;
