We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2946f7a commit 3d808d5Copy full SHA for 3d808d5
library/core/src/task/wake.rs
@@ -228,6 +228,10 @@ impl Waker {
228
///
229
/// Note that the above implies that multiple wake-ups may be coalesced into a
230
/// single `poll` invocation by the runtime.
231
+ ///
232
+ /// Also note that yielding to competing tasks is not guaranteed: it is the
233
+ /// executor’s choice which task to run and the executor may choose to run the
234
+ /// current task again.
235
#[inline]
236
#[stable(feature = "futures_api", since = "1.36.0")]
237
pub fn wake(self) {
0 commit comments