Skip to content
Discussion options

You must be logged in to vote

I figured out when I broke it, it was when I added async in .ForAll(async fileName => and made the lamba async.

It was Rider that gave me a hint that async anonymous void returning lambda's can unexpectedly fail.
It also explains why my other projects work, as that "older" code has very few async top level functions, and the action in that code calls sync code with a return parameter.

I found this from msft.
And this experience similar to mine.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ptr727
Comment options

@ptr727
Comment options

Answer selected by ptr727
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants