About Anaconda Help Download Anaconda

A re-implementation of the asyncio mainloop on top of Trio

copied from cf-staging / trio-asyncio

Installers

Info: This package contains files in non-standard labels.
  • noarch v0.15.0
  • linux-64 v0.12.0
  • osx-64 v0.12.0
  • win-64 v0.12.0

conda install

To install this package run one of the following:
conda install conda-forge::trio-asyncio
conda install conda-forge/label/cf202003::trio-asyncio

Description

Trio has native concepts of tasks and task cancellation. Asyncio is based on callbacks and chaining Futures, albeit with nicer syntax, which make handling of failures and timeouts fundamentally less reliable, esp. in larger programs. Thus, you really want to base your async project on Trio. On the other hand, there are quite a few asyncio-enhanced libraries. You really don't want to re-invent any wheels in your project. Thus, being able to use asyncio libraries from Trio is useful. Trio-Asyncio enables you to do that, and more.


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy