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.