diff --git a/src/main.rs b/src/main.rs index fd49977..a165c02 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1554,8 +1554,8 @@ async fn compile(config:CompileConfig)->AResult<()>{ } }); - //why can't I do this? is this even what I want? - //let u=u.buffer_unordered(32); + //is this even what I want? + let u=u.map(|f|async{f}).buffer_unordered(32); //begin processing immediately u.fold((&mut stack,&mut dom),|(stack,dom),bog:Result<_,anyhow::Error>|async{