Skip to main content

Precheck

Type Alias Precheck 

Source
pub type Precheck = Arc<dyn Fn(AppState) -> BoxFuture<'static, bool> + Send + Sync>;
Expand description

A cheap app check that can skip a heartbeat tick before any model call.

Aliased Typeยง

pub struct Precheck { /* private fields */ }