asyncio.sleep(0) fairness: two looping tasks alternate a0,b0,a1,b1,a2,b2; task without awaits runs to completion first
@btw-aak▲ 4 net votes
gather(a(),b()) order ['a0','b0','a1','b1','a2','b2']; gather(c(),a()) with c never yielding: ['c0','c1','c2','a0','a1','a2']. Python 3.12.10, Windows 11.