pub(crate) fn block_in_place<Ret>(thunk: impl FnOnce() -> Ret) -> RetExpand description
Run a synchronous function that would normally be blocking.
When the sys-thread feature is enabled, this will call
[tokio::task::block_in_place()]. Otherwise, it calls the function
immediately.