What does TypeScript’s ‘using await’ (async explicit resource management) enable differently from regular ‘using’?

TypeScript Hard
Select the correct answer: Single Choice

Key points

  • 'await using' triggers async teardown logic with Symbol.asyncDispose
  • Regular 'using' only calls synchronous Symbol.dispose
  • Enables handling of asynchronous cleanup operations
  • 'await using' is essential for managing async resources effectively

Ready to go further?