Messaging — Web platform APIs
Facilitate communication between different parts of an application, allowing data exchange and coordination.
Eg BroadcastChannel, MessageChannel
BroadcastChannel— Represents a named channel that any BroadcastChannel with the same name (across workers or isolates in the same Ende process) can use to send and receive messages, allowing one-to-many communication between execution contexts.BroadcastChannelEventMapMessageChannel— The MessageChannel interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.MessagePort— The MessagePort interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.MessagePortEventMap