firebase / firebase/firebase-admin-python

[FR] Async `messaging` requests

Aperta
#784 1 commento 11 reazioni 0 assegnatari Vedi su GitHub
api: core api: messaging type: feature request
Lingua principale
Python
Stelle
1.2k
Fork
359
Merge medio
5g 6m
PR unite (30g)
2

Descrizione

**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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.