with_async_context

Function with_async_context 

Source
pub async fn with_async_context<F, R>(ctx: TestContext, fut: F) -> R
where F: Future<Output = R>,
Expand description

Executes an async block with a thread-local test context (non-tokio fallback).