firebase / firebase/firebase-admin-python
[FR] Async `messaging` requests
Open
api: core
api: messaging
type: feature request
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 359
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 2
Description
**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.
Contributor guide
Assessment
This issue has not been assessed yet.