Mehdi Akiki

Posts tagged "select"

  • Published on
    tokio::select! polls branch futures on one task and drops the losers when a branch completes. In a loop, recreating a cancellation-unsafe operation can lose partial progress.