Ancestors

Toot

Written by Ruben Borg Nielsen on 2024-05-24 at 13:01

Today, I wasted 2 hours debugging what I thought was very odd behaviour in #csharp until I learned that async Task and async void are two very different things, and now I am very angry about async void. Was about to ban its usage entirely, but this SO article was helpful in explaining how it can be useful and not just a foot-gun

https://stackoverflow.com/questions/12144077/async-await-when-to-return-a-task-vs-void

=> More informations about this toot | More toots from eldamir@hachyderm.io

Descendants

Written by Igor Stojković on 2024-05-24 at 16:34

@eldamir The best explanations I know of are here: https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md

=> More informations about this toot | More toots from driggy@mastodon.gamedev.place

Written by πŸ’‘πš‚π—†π–Ίπ—‹π—π—†π–Ίπ—‡ π™°π—‰π—‰π—ŒπŸ“± on 2024-05-25 at 00:04

@driggy @eldamir

@davidfowl is on Mastodon

=> More informations about this toot | More toots from SmartmanApps@dotnet.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/112496193547909693
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
258.42538 milliseconds
Gemini-to-HTML Time
0.666891 milliseconds

This content has been proxied by September (ba2dc).