Skip to main content

TaskHandlerFn

Type Alias TaskHandlerFn 

Source
pub type TaskHandlerFn = Box<dyn Fn(DocketTask) -> Pin<Box<dyn Future<Output = DocketResult<Value>> + Send>> + Send + Sync>;
Expand description

Task handler function type.

Aliased Typeยง

pub struct TaskHandlerFn(/* private fields */);