mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 00:21:08 +01:00
parent
12b5174850
commit
37f4ce8604
@ -64,7 +64,7 @@ where
|
|||||||
RT.with(move |rt| rt.borrow_mut().get_mut().block_on(f.into_future()))
|
RT.with(move |rt| rt.borrow_mut().get_mut().block_on(f.into_future()))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Runs the provided function, blocking the current thread until the resul
|
/// Runs the provided function, blocking the current thread until the result
|
||||||
/// future completes.
|
/// future completes.
|
||||||
///
|
///
|
||||||
/// This function can be used to synchronously block the current thread
|
/// This function can be used to synchronously block the current thread
|
||||||
|
Loading…
Reference in New Issue
Block a user