Type Alias interval_task::runner::CtxFunc

source ·
pub type CtxFunc<T> = Box<dyn Send + FnOnce() -> T + 'static>;
Expand description

This will be executed inside runner thread when started And will be passed as arg to TaskWithHandle<T>

Aliased Type§

struct CtxFunc<T>(/* private fields */);