Publish-subscribe pattern - Wikipedia
In software architecture, publish-subscribe is a messaging pattern where senders of messages, called publishers, do not program the messages to be sent directly to specific receivers, called subscribers, but instead categorize published messages into classes without knowledge of which subscribers, if any, there may be.
https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern