firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.67k stars 1.49k forks source link

FR: AsyncThrowingStreams for Firestore #9964

Open olejnjak opened 2 years ago

olejnjak commented 2 years ago

Feature proposal

As Swift Concurrency and AsyncThrowingStream is available for some time, it is a good match for Firestore API. I already started with addition of AsyncThrowingStream to Query snapshots, can be found in my fork.

I would love to discuss if this addition is a good match before going on with adding other APIs, tests, etc.

Thanks for the discussion 🙂

paulb777 commented 2 years ago

Thanks @olejnjak! This looks really interesting as a potential usability improvement for Firebase listening APIs. We'll take a deeper look over the next weeks.