Advanced Event Handling in Player V3
You can customize what messages that you want to receive.
Using a message bus model for event handling allows you to tailor what messages you receive. You can register for specific messages instead of getting all published messages. This gives you improved performance and clearer code:
The message bus enables you to define your own plugins that will:
- Integrate deeply with the player.
- Have access to the message bus to respond to events with a change in functionality.