pub async fn with_async_context<F, R>(ctx: TestContext, fut: F) -> Rwhere
F: Future<Output = R>,Expand description
Executes an async block with a thread-local test context (non-tokio fallback).
pub async fn with_async_context<F, R>(ctx: TestContext, fut: F) -> Rwhere
F: Future<Output = R>,Executes an async block with a thread-local test context (non-tokio fallback).