Skip to main content

JobHandlerFn

Type Alias JobHandlerFn 

Source
pub type JobHandlerFn = Arc<dyn Fn(AppCtx, Value) -> BoxFuture<'static, SlabResult<()>> + Send + Sync>;
Expand description

Type-erased async handler function stored in a JobDef.

Aliased Typeยง

pub struct JobHandlerFn { /* private fields */ }