Worklet

/ˈwɜːk.lɪt/ · Noun · Development

Definitions

  1. A lightweight, low-latency script execution context in the browser that runs on a dedicated thread — used by the CSS Paint API (PaintWorklet), Audio Worklet (AudioWorkletProcessor), Animation Worklet, and Layout Worklet to extend browser rendering and audio pipelines without blocking the main thread.

    In plain English: A small script that runs on a special browser thread to customize things like painting graphics or processing audio without slowing down the page.

    Example: "We registered a PaintWorklet that draws a custom dashed border pattern the CSS border shorthand can't express."

Related Terms