Minecraft-Console-Client/.skills/csharp-best-practices/references/async-source-notes.md
2026-06-25 23:02:43 +02:00

3.6 KiB

description metadata
Authority notes and citations for the c# async best practices skill, separating official documentation, expert interpretation, and synthesized guidance.
tags source
sources
citations
authority
notes
external

Source Notes

Official facts

Expert guidance used only when technically grounded

Where the skill is intentionally cautious

  • ConfigureAwait: strong guidance exists for libraries, weaker guidance for app code. Blanket rules are rejected.
  • Task.Run: valid for deliberate CPU offload, weak as a server-side patch for blocking I/O.
  • ValueTask: supported and useful, but easy to misuse. The skill defaults to Task unless evidence is present.
  • Fire-and-forget: acceptable only with explicit ownership and lifecycle design, especially in server code.