This ensures we make as much progress as possible and accumulate as many pollables as possible prior to calling poll. Previously, we were accidentally limiting concurrency (and potentially getting stuck in cases where there were interdepdencencies between tasks) by only running one task per loop.
This ensures we make as much progress as possible and accumulate as many
pollable
s as possible prior to callingpoll
. Previously, we were accidentally limiting concurrency (and potentially getting stuck in cases where there were interdepdencencies between tasks) by only running one task per loop.