This article shows how easy it is to consume Server-Sent Events (SSE) from a backend which supports them and how to utilize them in Visual Builder application. SSE is a server push technology which enables client to receive push notifications from a server via HTTP connection. It is a great alternative to Websockets, supported by all major browser, and it is ideal for simple usecases where one way communication is all what is needed (from server to client, but not the other way around).
Solution will be illustrated on Task Manager app which lists long running tasks and updates as they progress. The application uses a NodeJS server as backend which acts both as REST API server for creation and fetching tasks and also as SSE server pushing tasks progress back to client.
