Summary: The proposal aims to allow a simplified way to handle lifetimes of resources (such as memory, I/O etc.) and allowing for explicitly handling how those resources are released on completion of utility.
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1569081
Specification: https://github.com/tc39/proposal-explicit-resource-management
Standards Body: tc39
Platform coverage: All
Preference: build time flag --enable-explicit-resource-management to enable this feature.
DevTools bug: N/A
Link to standards-positions discussion: N/A
Other browsers:
web-platform-tests:
- Test262 tests can be found at: https://github.com/tc39/test262/tree/main/test/staging/explicit-resource-management
- Addtional tests added at: https://searchfox.org/mozilla-central/source/js/src/jit-test/tests/explicit-resource-management
So sorry for sending the mail so late, I hadn't read the docs before!
Thank you!