[browser][MT][API Proposal]: Provide an API to transfer JS objects between main browser thread and JSWebWorker contexts #102011
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
arch-wasm
WebAssembly architecture
area-System.Runtime.InteropServices.JavaScript
feature-request
os-browser
Browser variant of arch-wasm
Milestone
Background and motivation
Certain javascript objects are intended to be transferred to web worker scope rather than be just copied. Notable examples are OffscreenCanvas, streams, video frames, webrtc, etc.
API Proposal
API Usage
Alternative Designs
Provide a way to add handlers to custom messages for
message
event andpostMessage
API ofWorker
/DedicatedWorkerGlobalScope
objects@pavelsavara
The text was updated successfully, but these errors were encountered: