-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
Description
Describe the problem
In tokio-console, tracing warnings tasks becomes hard when they warp as location tauri::async_runtime::spawn. Have no clue which exactly task lead to.
Describe the solution you'd like
Some additional track_caller attribute will handle property
+ #[track_caller]
pub fn block_on<F: Future>(task: F) -> F::Output {
let runtime = RUNTIME.get_or_init(default_runtime);
runtime.block_on(task)
}Add on
Alternatives considered
It could be add on when enable the tracing feature.
Additional context
No response
Reactions are currently unavailable
