[−][src]Function drone_core::fib::new_fn
pub fn new_fn<F, Y, R>(f: F) -> FiberFn<F, Y, R> where
F: FnMut() -> FiberState<Y, R>,
Creates a fiber from the closure f
.
pub fn new_fn<F, Y, R>(f: F) -> FiberFn<F, Y, R> where
F: FnMut() -> FiberState<Y, R>,
Creates a fiber from the closure f
.