Skip to content

Conversation

@lovelydinosaur
Copy link
Contributor

@lovelydinosaur lovelydinosaur commented Dec 2, 2019

Adds autodetection of aync library via the neat little sniffio package.
Also adds support for a simpler backend=<str> style.

Valid usages include:

client = Client(backend=TrioBackend())
client = Client(backend="trio")  # Or "asyncio" or "auto".
client = Client()  # Equivelent to `backend="auto"`

@lovelydinosaur lovelydinosaur merged commit 3cbe731 into master Dec 2, 2019
@lovelydinosaur lovelydinosaur deleted the concurrency-autodetection branch December 2, 2019 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants