pub type JobHandlerFn = Arc<dyn Fn(AppCtx, Value) -> BoxFuture<'static, SlabResult<()>> + Send + Sync>;
Type-erased async handler function stored in a JobDef.
JobDef
pub struct JobHandlerFn { /* private fields */ }