Class UpdateManager

Implements

Constructors

Accessors

Methods

  • Execute provided callback within an update-locked context, which guarantees that:

    • the previous updates must have finished before the callback call, and
    • no update will happen when executing the callback

    Parameters

    • fn: () => void

      the callback to execute in update lock

    Returns Promise<void>