MessageChannel

Bun

Symbol

MessageChannel

class MessageChannel

This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties.

MDN Reference