A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
25.44k
stars
2.3k
forks
source link
Doc: JoinSet::try_join_next() returns None when no tasks are completed #6671
Closed
teor2345 closed 5 days ago
Motivation
The documentation of
JoinSet
'stry_join_next()
andtry_join_next_with_id()
doesn't say what happens if there are no completed tasks.join_next()
waits, buttry_join_next()
appears to returnNone
immediately.Solution
Update the docs for both methods.