core-async

stuarthalloway 2025-06-07T13:50:12.338229Z

Hello! I am confused by :chan-opts. In my trivial experiments so far, they seem to work on in channels but are ignored on out channels, which is not what I expect from the docs. https://gist.github.com/stuarthalloway/f7d852d4dded5344df77e409e69e10e2

2025-06-09T18:39:49.931139Z

What could be accomplished with two different channels+opts in a 1:1 situation? Better to throw and let you know to set the opts on the target input, no?

👍 1
stuarthalloway 2025-06-08T15:47:44.377299Z

Yikes! Seems like that optimization should be disabled if you have requested different channel opts on the two channels.

2025-06-07T15:45:57.793309Z

It is because if an out is only connected to one in, it is directly replaced by that in, so they are not two distinct channels. I assume that is optimization, but it seems like a silent change like that could lead to a lot of unexpected behavior