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
- ECMAScript Async Explicit Resource Management, from TC39 (Ecma International).
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 (3 months)
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist