Line drawing of a small moon orbiting around a planet with the words FAST next to it
Docs
2.x
  • 2.x
  • 1.x
Home Community GitHub
  • Introduction
  • Getting Started
    • CSS Templates
    • FASTElement
    • HTML Directives
    • HTML Templates
    • Quick Start
  • Advanced Concepts
    • Dependency Injection
    • Working with Custom Elements
    • Working without Decorators
  • API Reference
    • @microsoft/fast-element
    • @microsoft/fast-element/context.js
    • @microsoft/fast-element/di.js
  • Community Contribution
    • Issue Management
    • Joining the community
    • Release Planning
    • Writing documentation
  • Integrations
  • Migration Guide
  • Resources
    • Browser Support
    • FAQ
    • Glossary
    • Why Web Components?

@microsoft/fast-element > UpdateQueue

UpdateQueue interface

A work queue used to synchronize writes to the DOM.

Signature:

export interface UpdateQueue 

Methods

Method

Description

enqueue(callable)

Schedules DOM update work in the next batch.

next()

Resolves with the next DOM update.

process()

Immediately processes all work previously scheduled through enqueue.

setMode(isAsync)

Sets the update mode used by enqueue.

Docs
  • FAST Element
Community
  • Discord
Social
  • Blog
  • GitHub
  • Twitter
Legal
  • License
  • Privacy & cookies
  • Terms of use
  • Trademarks
© Microsoft 2025