Skip to main content

EngineRouteCallback

Type Alias EngineRouteCallback 

Source
pub type EngineRouteCallback = Arc<dyn Fn(Value) -> Pin<Box<dyn Future<Output = Result<Value>> + Send>> + Send + Sync>;
Expand description

Legacy body-only callbacks preserve their JSON response and 200/500 status contract.

Aliased Typeยง

pub struct EngineRouteCallback { /* private fields */ }