firebase / firebase-admin-python

Firebase Admin Python SDK
https://firebase.google.com/docs/admin/setup
Apache License 2.0
988 stars 300 forks source link

[FR] Async `messaging` requests #784

Open cam-matsui opened 2 months ago

cam-matsui commented 2 months ago

Is your feature request related to a problem? Please describe. AsyncIO is the future for performant Python web services, and thus one should be able to send push notifications via an async API.

Describe the solution you'd like async versions of messaging.send, messaging.send_each, etc.

Describe alternatives you've considered Separate threads / run_in_executor() complicates the code and is not as performant

Additional context Async Firestore was added in #635, wondering if async support should extend to other Firebase services.

google-oss-bot commented 2 months ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.