Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: tc39 Explicit Resource Management #7078

Open
rictic opened this issue Jun 5, 2024 · 1 comment
Open

Feature request: tc39 Explicit Resource Management #7078

rictic opened this issue Jun 5, 2024 · 1 comment

Comments

@rictic
Copy link

rictic commented Jun 5, 2024

This could be broken out into multiple features:

  • Symbol.dispose
  • Symbol.asyncDispose
  • using syntax
  • await using syntax
  • DisposableStack
  • AsyncDisposableStack

Spec: https://github.com/tc39/proposal-explicit-resource-management

Looks like Chrome is shipping Symbol.dispose, but no one is shipping anything else.

@Schweinepriester
Copy link
Contributor

At least related to #6830, if not duplicate, but that one could be argued as a subset of this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants