pub type EngineRouteCallback = Arc<dyn Fn(Value) -> Pin<Box<dyn Future<Output = Result<Value>> + Send>> + Send + Sync>;Expand description
Callback type for engine routes (async) Takes JSON body, returns JSON response (or error) wrapped in a Future
Aliased Typeยง
pub struct EngineRouteCallback { /* private fields */ }