We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f577b8 commit b933452Copy full SHA for b933452
1 file changed
tokio/src/runtime/task/join.rs
@@ -22,6 +22,11 @@ cfg_rt! {
22
/// This `struct` is created by the [`task::spawn`] and [`task::spawn_blocking`]
23
/// functions.
24
///
25
+ /// It is guaranteed that the spawned task's destructor has finished
26
+ /// before the task completion is observed
27
+ /// via [`JoinHandle`] `await`, [`JoinHandle::is_finished`] or
28
+ /// [`AbortHandle::is_finished](crate::task::AbortHandle::is_finished).
29
+ ///
30
/// # Cancel safety
31
32
/// The `&mut JoinHandle<T>` type is cancel safe. If it is used as the event
0 commit comments