RefreshStatus Constants

Status enum that represents the overall status of the refresh process. When a refresh process completes, this status is emitted to a registered refresh container via a Promise result.

  • RefreshError
    • The refresh process couldn’t run on descendant refresh handler nodes.
  • RefreshComplete
    • Default. The refresh process has completed on all descendant refresh handler nodes.
  • RefreshCompleteWithErrors
    • The refresh process has completed on descendant refresh handler nodes, but some children have reported an error.
1@type {{RefreshCompleteWithErrors: number, RefreshError: number, RefreshComplete: number}}
2
3export const REFRESH_ERROR = 0;
4export const REFRESH_COMPLETE = 1;
5export const REFRESH_COMPLETE_WITH_ERRORS = 2;

See Also