Messaging is finicky.
There are many scenarios where it’s necessary to asynchronously send messages between two different layers. For example:
- Between different threads or processes
- Between different iframes or windows
- Between a web page and a web-worker or service-worker
- Between a client application and a server, via a web-socket
Basic Fire-and-Forget Serialized Messages