firebase / firebase/firebase-admin-python

[FR] Async `messaging` requests

未關閉
#784 1 則留言 11 個 reaction 已指派 0 人 在 GitHub 檢視
api: core api: messaging type: feature request
主要語言
Python
星號
1.2k
分支
359
平均合併
5 天 6 分鐘
30 天內合併 PR
2

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。