firebase / geofire-js

GeoFire for JavaScript - Realtime location queries with Firebase
MIT License
1.45k stars 345 forks source link

geoQuery with RxJS Observables #131

Closed beckmeindia closed 7 years ago

beckmeindia commented 7 years ago

I am using geoQuery with React using redux-observable

I was wondering how do I use plain geofire-js with multiple observables (from multiple geoquery) and then use something like a flatMap to get the intersection of the returned values.

The confusion I have presently is that geoQuery returns it in an async format and I am not sure how to integrate geoQuery.ready() with Observables since geoQuery too works pretty much in a stream

Please suggest.

TIA

jwngr commented 7 years ago

This issue tracker is designed for tracking code issues. This question is better suited for Stack Overflow or the Firebase Google Group. Can you please re-post on one of those forums and paste the link here? Please also remember to include version information and a code sample (if relevant) to help us resolve your issue.