Options
All
  • Public
  • Public/Protected
  • All
Menu

A wrapper for the experimental compute pressure api which allows a callback to be called whenever certain thresholds are met.

Hierarchy

  • ComputePressureObserverWrapper

Index

Constructors

Accessors

Methods

Constructors

Accessors

  • get IsAvailable(): boolean
  • Returns true if ComputePressureObserver is available for use, false otherwise.

    Returns boolean

Methods

  • observe(): void
  • Method that must be called to begin observing changes, and triggering callbacks.

    Returns void

  • unobserve(): void
  • Method that must be called to stop observing changes and triggering callbacks (cleanup function).

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme