An EventSource
instance opens a persistent connection to an HTTP server, which sends events in text/event-stream
format. The connection remains open until closed by calling EventSource.close()
.
Streaming Responses – Exploring Cost-Efficient Alternatives to SSE with AWS Lambda & API Gateway
How To A Build Real-time React App With Server-Sent Events
Asynchronous Client Interaction in AWS Serverless: Polling, WebSocket, SSE or AppSync?