Skip to main content

PrerequisiteFuture

Type Alias PrerequisiteFuture 

Source
pub type PrerequisiteFuture = Pin<Box<dyn Future<Output = SupervisorResult<()>> + Send + 'static>>;
Expand description

A boxed future that resolves to SupervisorResult<()>, used as a prerequisite gate before the supervisor starts any tasks.

Aliased Typeยง

#[repr(transparent)]
pub struct PrerequisiteFuture { /* private fields */ }