firebase / firebase/firebase-admin-python

[FR] Async `messaging` requests

Đang mở
#784 1 bình luận 11 reaction 0 người được giao Xem trên GitHub
api: core api: messaging type: feature request
Ngôn ngữ chính
Python
Star
1.2k
Fork
359
Merge trung bình
5 ngày 6 phút
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.