Create an async version of the client
Offen
@AaronDDM arbeitet bereits daran.
Seit 11.6.2025.
enhancement
- Vorherrschende Sprache
- Python
- Sterne
- 109
- Forks
- 85
- Ø Merge
- 1 T. 21 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
Description
We need to add asynchronous support to the Nylas client to improve performance in high-concurrency applications. The current synchronous implementation blocks the event loop during HTTP requests, which limits scalability in async applications.
Benefits
- Improved performance for concurrent operations
- Compatibility with async web frameworks (FastAPI, Starlette, etc.)
- Better resource utilization when processing multiple emails
- Reduced latency for user-facing applications that process email data
Implementation Suggestion
Extend the current HttpClient with an async version that uses aiohttp while maintaining the same interface.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.