The Worklet interface is a lightweight version of Web Workers and gives developers access to low-level parts of the rendering pipeline. Available only in secure contexts.
Worklet
MDN Reference
The addModule() method of the adds it to the current Worklet.
addModule()
Optional
The
Workletinterface is a lightweight version of Web Workers and gives developers access to low-level parts of the rendering pipeline. Available only in secure contexts.MDN Reference