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
UNKNOWN
then the resulting status will includeUNKNOWN
- If one of the statuses includes
LOADING
then the resulting status will includeLOADING
- If all the statuses include
NORMAL
then the resulting status will includeNORMAL
- If one of the statuses includes
ERROR
then the resulting status will includeERROR
function combineStatuses(...statues: number[]): number;