Worklets always run in the same renderer process with a parent document that starts the worklet like the in-process-workers.
Classes in this directory are named with the following conventions, there're still some exceptions though.
WorkerOrWorkletprefix: Classes commonly used for workers and worklets (e.g.,
Workletprefix: Classes used for workers or worklets (e.g.,
Threadedprefix: Classes used for workers and threaded worklets (e.g.,
MainThreadWorkletprefix: Classes used for main thread worklets (e.g.,
Thread hopping between the main (parent) thread and a worker thread is handled by proxy classes.
MessagingProxyis the main (parent) thread side proxy that communicates to the worker thread.
ObjectProxyis the worker thread side proxy that communicates to the main (parent) thread.