Web platform features explorer

Explicit resource management

The using and await using declarations and the dispose and asyncDispose symbols manage the lifecycle of resources such as file handles and streams. The DisposableStack and AsyncDisposableStack objects can group, dispose, and coordinate dependencies between multiple disposable resources.

Status

Limited availability

MDN documentation

No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.

Specifications

Browser support

  • Chrome 134 Released on 2025-03-04
  • Chrome Android 134 Released on 2025-03-04
  • Edge 134 Released on 2025-03-06
  • Firefox 141 Released on 2025-07-22
  • Firefox for Android 141 Released on 2025-07-22
  • Safari
  • Safari on iOS

Baseline availability blocked since July 2025 by Safari (6 months)

Usage (according to Chrome Platform Status)

~0.118% of page loads. More data at chromestatus.com.

Developer signals

Votes: 7

If you want this feature to be available in all browsers, vote for it by adding a thumbs up reaction (👍) to this GitHub issue, and leave a comment with more information.