Marina Glancy
Lead maintainer
Real time events provides a framework for real-time communication between the server and the browser in Moodle plugins. It supports both server-to-client notifications and client-to-server messaging.
For example, when a teacher updates course content or starts a live quiz, all connected students instantly see the changes without refreshing the page, making the learning experience more interactive and engaging.

Communication is handled by pluggable backends:
Adding real-time features to your plugin requires just a few lines of code. See the README for full documentation and code examples.
This plugin was suggested and discussed in https://moodle.atlassian.net/browse/MDL-65795