FSharp.Control.AsyncSeq
FSharp.Control.AsyncSeq copied to clipboard
[Question] AsyncSeq.MapAsyncParallel
I read the sequence that's returned by this function, do I get to read the first element when all elements are finished on mapping, or I can start reading the first element as soon as it's mapped even though there's more elements coming into the AsyncSequence to be processed
For example, if I do
MySeq |> AsyncSeq.MapAsyncParallel (fun x -> some operation) |> AsyncSeq.tryFirst
Do I get the first element as soon as some element is mapped or do I have to wait for all elements mapped
@dsyme