Skip to content

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

License

Notifications You must be signed in to change notification settings

ChiuMungZitAlexander/sse-sync.js

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published