JobHandler

Type Alias JobHandler 

Source
pub type JobHandler = Arc<dyn Fn(Job) -> Pin<Box<dyn Future<Output = QueueResult<()>> + Send>> + Send + Sync>;
Expand description

Job handler function type.

Aliased Typeยง

pub struct JobHandler { /* private fields */ }