mm1_node::runtime::runnable

Function from_fn

Source
pub fn from_fn<F, Ctx>(fn_once: F) -> FnOnceRunnable<F>
where F: ActorRunFnOnce<Ctx>,