Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@filipw
Copy link
Contributor

@filipw filipw commented Jun 7, 2020

Updated LazyAsync to not perform sync-over-async (no longer explicitly blocks).
This is detrimental to performance and in places where there is synchronization context (e.g. xUnit tests or non-.NET Core apps) it can lead to deadlocks.

More about this in the great posts from S. Toub and S. Cleary

Copy link
Contributor

@bettinaheim bettinaheim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, @cesarzc for a second set of eyes.

@bamarsha bamarsha requested a review from cesarzc June 8, 2020 22:42
@cesarzc cesarzc requested a review from george-moussa June 12, 2020 21:19
@george-moussa george-moussa requested review from johnazariah and removed request for george-moussa June 12, 2020 21:29
Copy link
Member

@johnazariah johnazariah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I agree this looks cleaner!

Thanks for this, @filipw!

Copy link
Contributor

@cesarzc cesarzc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@bettinaheim bettinaheim merged commit 73fad8b into microsoft:master Jun 15, 2020
AniketDalvi pushed a commit that referenced this pull request Jul 1, 2020
Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants