What is the proper way to chain a list (IEnumerable) of EiherAsync/Aff ? #1286
Unanswered
guillaumeagile
asked this question in
Q&A
Replies: 1 comment 1 reply
-
IEnumerable<Aff<string>> mx = ...;
// Runs each item in the sequence after the previous one has completed
Aff<IEnumerable<string>> r2 = mx.SequenceSerial();
// Runs a number of the items in the sequence concurrently (see below)
Aff<IEnumerable<string>> r1 = mx.SequenceParallel(); With var r1 = mx.SequenceParallel(10); The default value is: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a IEnumerable<Aff>, and I would like to await them wall, like Task.WhenAll does.
I cannot achieve to write it in a FP way.
Can someone help?
Beta Was this translation helpful? Give feedback.
All reactions