- Preparing search index...
- The search index is not available
A pressure observer will call this callback, whenever these thresholds are met.
Optional options: PressureObserverOptions
An object containing the thresholds used to decide what value to to return for each update property (average of start and end of a threshold boundary).
Pressure ChangedSearch playground for onPressureChanged
An event triggered when the cpu usage/speed meets certain thresholds. Note: pressure is an experimental API.
Returns true if PressureObserver is available for use, false otherwise.
disposeSearch playground for dispose
Release the associated resources.
observeSearch playground for observe
Method that must be called to begin observing changes, and triggering callbacks.
defines the source to observe
unobserveSearch playground for unobserve
Method that must be called to stop observing changes and triggering callbacks (cleanup function).
defines the source to unobserve
A wrapper for the experimental pressure api which allows a callback to be called whenever certain thresholds are met.