Skip to main content

FailureCallback

Type Alias FailureCallback 

Source
pub type FailureCallback = Arc<dyn Fn(&str, &str) + Send + Sync>;
Expand description

Failure notification callback type

Called when a task execution fails. Receives the task name and error message.

Aliased Typeยง

pub struct FailureCallback { /* private fields */ }