Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustCV/RustCV
/ block_on
Function
block_on
rustcv/src/internal/runtime.rs:22–24 ·
view source on GitHub ↗
(future: F)
Source
from the content-addressed store, hash-verified
20
/// 辅助函数:在后台运行 Future 并阻塞等待结果
21
#[allow(dead_code)]
22
pub fn block_on<F: std::future::Future>(future: F) -> F::Output {
23
get_runtime().block_on(future)
24
}
Callers
nothing calls this directly
Calls
1
get_runtime
Function · 0.85
Tested by
no test coverage detected