Event Bus

Event Bus is a simple implementation of the publish/subscribe pattern which is a messaging pattern that allows two or more actors to publish messages and handle these messages without having a direct relationship between them.

Publishers don't know if the message they are publishing is handled and by whom, while subscribers do not know who was the publisher of a specific event: this means that components among Mithril Shards can be loosely coupled


Last update: 2021-11-06
Back to top