Module script::dom::worklet

source ยท
Expand description

An implementation of Houdini worklets.

The goal of this implementation is to maximize responsiveness of worklets, and in particular to ensure that the thread performing worklet tasks is never busy GCing or loading worklet code. We do this by providing a custom thread pool implementation, which only performs GC or code loading on a backup thread, not on the primary worklet thread.

Structsยง

Enumsยง

  • WorkletControl ๐Ÿ”’
    The control message sent to worklet threads
  • WorkletData ๐Ÿ”’
    The data messages sent to worklet threads

Constantsยง