0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -05:00
This commit is contained in:
Gurwinder S 2019-06-02 23:53:36 +05:30 committed by Ryan Dahl
parent d438a6d259
commit bbc8de0c7a

View file

@ -30,7 +30,7 @@ where
/// ///
/// This creates a new tokio runtime, with many new threads, to execute the /// This creates a new tokio runtime, with many new threads, to execute the
/// given future. This is useful when we want to block the main runtime to /// given future. This is useful when we want to block the main runtime to
/// resolve a future without worrying that we'll us up all the threads in the /// resolve a future without worrying that we'll use up all the threads in the
/// main runtime. /// main runtime.
pub fn block_on<F, R, E>(future: F) -> Result<R, E> pub fn block_on<F, R, E>(future: F) -> Result<R, E>
where where