Doc 2M6.1CLAUDE

Async/Await Migration (8 rules)

Convert synchronous code to async without introducing deadlocks.

Prompt template
Migrate the following synchronous code to async/await: [paste code].

Apply these 8 rules:
  1. async all the way — no .Result, .Wait(), or .GetAwaiter().GetResult().

Sign in free to unlock the full prompt and copy it.

Sign in free
#modernization#async