Realtime

Introduction

This sample demonstrates how you can utilize the different RealtimeServices provided by the @c8y/ngx-components package to receive realtime notifications in your UI.

The services used as part of this component are:

You can enable/disable these services by clicking on them in the above list.

This component is subscribing for all realtime notifications using a wildcard subscription, which can generate a lot of load/traffic on your systems. For that reason try to provide your entityId to the onAll$(), onCreate$(), onUpdate$() or onDelete$() methods where ever it is possible in your production code.

Below you can find the latest {{ bufferSize }} notifications received from your tenant.

{{ i + 1 }}. RealtimeMessage in buffer

{{ realtimeItem | json }}

Waiting for the first notification to be received.