alloy_node_bindings::utils

Function run_with_tempdir

source
pub async fn run_with_tempdir<F, Fut>(prefix: &str, f: F)
where F: FnOnce(PathBuf) -> Fut, Fut: Future<Output = ()>,
Expand description

Runs the given async closure with a temporary directory.