quinn icon indicating copy to clipboard operation
quinn copied to clipboard

Avoiding unbounded channels

Open Demi-Marie opened this issue 5 years ago • 1 comments

Is it possible to avoid using unbounded channels? My attempts to do so have lead to intermittent deadlocks that I have not successfully been able to debug.

Demi-Marie avatar Jan 15 '20 03:01 Demi-Marie

This should work fine. The unbounded channels are a matter of implementation convenience, not necessity. It's painful to wrap asynchronous operations in hand-written futures, but we'll likely move away from them whenever we migrate to async/await.

Ralith avatar Jan 15 '20 06:01 Ralith