You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
timonkrebs
changed the title
create analyzer that ensures every task is immediately awaited
create analyzer that ensures every task is awaited in scope
Oct 18, 2023
No Task should be stored in a variable to ensure structured sequential concurrency.
https://learn.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-disposeasync
Maybe there is a way to force await at the end of the scope which would probably be fine to.
Like: StructuredTaskScope
https://howtodoinjava.com/java/multi-threading/structured-concurrency/#3-implementing-structured-concurrency-with-structuredtaskscope
The text was updated successfully, but these errors were encountered: