Function run_simulated

Source
pub async fn run_simulated<A, B, F>(
    handler: F,
    url: &str,
) -> Result<(), Box<dyn Error + Send + Sync + 'static>>
where F: Handler<A, B>, <F as Handler<A, B>>::Error: Debug, A: for<'de> Deserialize<'de>, B: Serialize,
Expand description

Runs the lambda function almost entirely in-memory. This is meant for testing.