[−][src]Function netlify_lambda::run_simulated
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,
Runs the lambda function almost entirely in-memory. This is meant for testing.