Skip to main content

register_default_runner

Function register_default_runner 

Source
pub fn register_default_runner(
    op: &'static str,
    runner: Arc<dyn Fn(AppState, Request) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send>> + Send + Sync>,
)
Expand description

Say what runs op unless something already says: how the real runners are registered, so registering them again (each connection does) never replaces one a test put there.