question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AnyIO implementation of asynchronous streams

See original GitHub issue

Using streamz with an event loop such as trio is currently not possible since Tornado only supports AsyncIO if it is available.

If we had an implementation that uses AnyIO, we could use any event loop we’d desire including tornado.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
martindurantcommented, Mar 30, 2020

True, but being able to use Dask is important too. If you can implement anyIO (or something else) for the non-Dask code without greatly complicating the code, we would consider it. Of course we would still prefer smooth interaction between streamz and Dask on any io-loop.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Streams — AnyIO 3.6.2 documentation - Read the Docs
Memory object streams are intended for implementing a producer-consumer ... The receive ends of memory object streams can be iterated using the async...
Read more >
Using sockets and streams — AnyIO 3.6.2 documentation
Using sockets and streams . Networking capabilities are arguably the most important part of any asynchronous library. AnyIO contains its own high level ......
Read more >
API reference — AnyIO 3.6.2 documentation - Read the Docs
A bidirectional message stream which guarantees the order and reliability of message delivery. abstract async send_eof() . Send an end- ...
Read more >
AnyIO — AnyIO 3.6.2 documentation
AnyIO is an asynchronous networking and concurrency library that works on top of either asyncio or trio. It implements trio-like structured concurrency (SC)...
Read more >
Asynchronous file I/O support — AnyIO 3.6.2 documentation
Closing the wrapper also closes the underlying synchronous file object. See also. File streams. Asynchronous path operations . AnyIO provides an asynchronous...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found