Skip to main content

TaskHandlerFn

Type Alias TaskHandlerFn 

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

Task handler function type.

Aliased Typeยง

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