This example demonstrates how to receive events from the application.
The application emits a count value every second, which is then displayed in the HTML.