ryardley / ts-bus

A lightweight JavaScript/TypeScript event bus to help manage your application architecture.
MIT License
136 stars 8 forks source link

Create RxJS bridge. #29

Open ryardley opened 5 years ago

ryardley commented 5 years ago

It would be good to be able to automatically subscribe ts-bus to an RxJS observable or create an observable from RxJS. This should increase adoption due to interoperability. This could then act as an RxJS -> React Hooks bridge

snowinmars commented 3 years ago

Yea, it could be nice to write

this.bus.subscribe(event, () => {}).pipe(throttle...);