Create an async version of the client
Abierto
@AaronDDM ya está trabajando en esto.
Desde el 11/6/2025.
enhancement
- Lenguaje dominante
- Python
- Estrellas
- 109
- Forks
- 85
- Merge medio
- 1 d 21 h
- PR fusionados (30 d)
- 1
Descripción
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.