MessageChannel

A pair of connected ports for sending messages between threads: what you post on one port arrives as a message event on the other.

In more detail

Messages are copied with the structured clone algorithm, except for memory explicitly transferred or shared. Browsers use the same API between windows and web workers.

Related terms

Taught in

References