Skip to main content

SinkProbeFn

Type Alias SinkProbeFn 

Source
pub type SinkProbeFn = Box<dyn Fn() -> Pin<Box<dyn Future<Output = Result<(), SinkError>> + Send>> + Sync + Send>;
Expand description

Boxed, repeatable sink connectivity probe (readiness). The runtime probes at startup and then periodically, driving the sinks-connected half of /readyz.

Aliased Typeยง

pub struct SinkProbeFn(/* private fields */);