with_scheduler
tokio
1.48.0
In tokio::
runtime::
context
tokio
::
runtime
::
context
Function
with_
scheduler
Copy item path
Source
pub(super) fn with_scheduler<R>(f: impl
FnOnce
(
Option
<&
Context
>) -> R) -> R