Eventkit
lastmod 2025-04-14created 2025-04-143 edits
Declarative streams for Typescript
Features
- eventkit is a library that makes it easy to compose and observe asynchronous streams
- Similar to RxJS, but with improved side-effect management and a generator-based design
- When state updates are pushed to a stream, the client can receive them in real time
- Simple to implement on both server and client through Stream and AsyncObservable
- Using eventkit on the server side
- Push state changes to a Stream, and the client subscribes to that stream
- Receive stream data, decode it, then update the UI
See also
Favorite site
- eventkit web site
- Github - hntrl/eventkit
- You might not need WebSockets | GeekNews -> introduces eventkit at the end.
- [Original] You might not need Websockets