firebase / firebase/firebase-admin-python

[FR] Async `messaging` requests

Offen
#784 1 Kommentar 11 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
api: core api: messaging type: feature request
Vorherrschende Sprache
Python
Sterne
1.2k
Forks
359
Ø Merge
5 T. 6 Min.
Gemergte PRs (30 T.)
2

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.