ProtectedactiveProtectedalertProtectedloadingProtectedloadingProtectedloadingPending timer for the delayed display of the loading indicator, or null when no display is pending.
Protected Static ReadonlyLOADING_How long (ms) a load must run before the loading indicator is shown. Loads that complete faster than this never show an indicator, avoiding a flicker for fast (e.g. cached) chunk loads.
Clear all alerts.
Mark one outstanding load as finished. When the last one completes, cancel a still-pending indicator (so a fast load never flickers) and dismiss the indicator if it was already shown.
Dismiss an alert.
Show an Alert in the alerts area.
The alert's ID, which can be used to dismiss the alert.
Show an Alert in the alerts area.
The alert's ID, which can be used to dismiss the alert.
Show an Alert in the alerts area.
The alert's ID, which can be used to dismiss the alert.
Register an outstanding load and, if this is the first one, schedule the loading indicator to appear after AlertManagerState.LOADING_DELAY.
Concurrent loads share a single indicator (tracked via loadingPool), so the
UI never shows more than one "loading" alert regardless of how many chunks or
requests are in flight. Loads that finish before the delay never show one.
Identifier of the currently-shown loading alert, or null when none is shown.