iasyncenumerable
Is it possible to "await yield return DoSomethingAsync()"
Are regular iterator blocks (i.e. \"yield return\") incompatible with \"async\" and \"await\"? This gives a good idea of what I\'m trying to do:[详细]
2023-02-12 01:56 分类:问答Can I yield IAsyncEnumerable values as a list of Tasks complete?
Lets say I have a List that has 10 Tasks that each call a rest API.I\'d like to run the tasks in a method that returns an IAsyncEnumerable that yie开发者_运维百科lds as each call is returned.I don\'t[详细]
2022-12-07 18:40 分类:问答