Introduction to Processing Real-Time Updates
Explore how to process real-time updates in Angular applications using WebSocket technology. Understand the communication flow, including connection opening, messaging, and closing. Learn to consume live updates reactively to automate UI refresh without manual actions.
We'll cover the following...
Real-time is a very hot topic nowadays. The demand for real-time features has been growing in web applications. So how can you process real-time messages in the frontend and update the displayed data automatically in the UI? This is what we’ll cover in this chapter. We’ll start by explaining the requirements, and then we’ll walk you through the different steps to implement the reactive pattern for consuming real-time updates. Finally, we’ll learn the reactive pattern for handling reconnection.
Defining the requirement
There are two techniques available for publishing real-time data on ...