Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 677 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 677 Bytes

sse-sync

An SSE(server-sent event) based pub-sub lib aiming for data subscription, differing, and synchronization between client and server side.

Register the data source, and sse-sync will automatically diff the lastest data with current data from the source and then push the data to the client side if there're any changes.

Why not polling or websockets?

This lib is very useful when your client side needs to render the external data that change rapidly. See the example for the details.