Skip to main content

SupervisionDecider

Type Alias SupervisionDecider 

Source
pub type SupervisionDecider = Arc<dyn Fn(&StreamError) -> SupervisionDirective + Send + Sync>;
Expand description

Shared supervision decider used by supervised operators.

The decider is user code and is always invoked outside Datum’s internal locks. If it panics, the supervised stage treats that as SupervisionDirective::Stop.

Aliased Type§

pub struct SupervisionDecider { /* private fields */ }