pub fn block_on<F, T>(future: F) -> LuaResult<T>
where
    F: Future<Output = Result<T, LuaError>>,
{
    get_runtime()?.block_on(future)
}
/// Blocks using the global runtime for a future that returns `LuaResult<T>`
Blocks using the global runtime for a future that returns `LuaResult`
Blocks using the global runtime for a future that returns ` LuaResult `
pub fn block_on<F, T>(future: F) -> LuaResult<T>
where
    F: Future<Output = Result<T, LuaError>>,
{
    get_runtime()?.block_on(future)
}
pub fn block_on < F , T > ( future : F ) -> LuaResult < T > where F : Future < Output = Result < T , LuaError > > , { get_runtime ( ) ? . block_on ( future ) }
Blocks using the global runtime for a future that returns `LuaResult<T>`
Blocks using the global runtime for a future that returns ` LuaResult<T > `
future
F