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 摘要。