Channel returned by to-chan not immediately ready for taking?

Description

Not sure if this is really a bug but it stroke me as odd:

Seems like the channel returned by to-chan should always be immediately ready for taking. Then again this is not mentioned in its docstring so maybe it's all fine. Just thought I'd file it in case it might hint at some deeper issue with poll! or to-chan.

Environment

[org.clojure/clojure "1.9.0-alpha16"]
[org.clojure/core.async "0.3.443"]

Activity

Show:
Alex Miller
August 11, 2017, 6:04 PM

async/to-chan uses async/onto-chan, which fills the channel via an asynchronous go loop, so there is a slight delay before the first value is available in this channel. I'm not sure what, if anything, I would call an error in that stack of calls.

import
August 11, 2017, 6:21 PM

Comment made by: dergutemoritz

Agreed, and it's totally in line with how it's documented anyway, so feel free to close. Sorry for the noise

Won't Fix

Assignee

Unassigned

Reporter

import

Labels

None

Approval

None

Patch

None

Priority

Minor
Configure