Skip to content

Reference for stage 3 explicit-resource-management - #38027

Merged
Josh-Cena merged 24 commits into
mdn:mainfrom
Josh-Cena:explicit-resource-management
Jul 29, 2025
Merged

Reference for stage 3 explicit-resource-management#38027
Josh-Cena merged 24 commits into
mdn:mainfrom
Josh-Cena:explicit-resource-management

Conversation

@Josh-Cena

@Josh-Cena Josh-Cena commented Feb 7, 2025

Copy link
Copy Markdown
Member

Just to show that I know about its existence and it's being worked on. There's no proposed timeline.

This is ready for review. It's a big API, but overall there are the following parts to review:

  1. Look at the guide. It provides an overview of the API which you can use as a roadmap.
  2. Look at using and await using.
  3. Look at DisposableStack and AsyncDisposableStack.
  4. Look at Symbol.dispose and Symbol.asyncDispose.
  5. Look at all other pages where I made sporadic changes.

Fixes #39474

@github-actions github-actions Bot added Content:JS JavaScript docs size/xl [PR only] >1000 LoC changed labels Feb 7, 2025
@github-actions

github-actions Bot commented Feb 7, 2025

Copy link
Copy Markdown
Contributor
Preview URLs (43 pages)
External URLs (15)

URL: /en-US/docs/Web/JavaScript/Guide/Resource_management
Title: JavaScript resource management


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncDisposableStack
Title: AsyncDisposableStack


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncDisposableStack/adopt
Title: AsyncDisposableStack.prototype.adopt()


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncDisposableStack/use
Title: AsyncDisposableStack.prototype.use()


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncIterator/Symbol.asyncDispose
Title: AsyncIterator.prototype[Symbol.asyncDispose]()


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/DisposableStack
Title: DisposableStack


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Iterator/Symbol.dispose
Title: Iterator.prototype[Symbol.dispose]()


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/SuppressedError
Title: SuppressedError


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/SuppressedError/SuppressedError
Title: SuppressedError() constructor


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/asyncDispose
Title: Symbol.asyncDispose


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/dispose
Title: Symbol.dispose


URL: /en-US/docs/Web/JavaScript/Reference/Statements/await_using
Title: await using


URL: /en-US/docs/Web/JavaScript/Reference/Statements/using
Title: using

(comment last updated: 2025-07-29 03:26:45)

@Josh-Cena
Josh-Cena marked this pull request as ready for review February 7, 2025 18:27
@Josh-Cena
Josh-Cena requested review from a team and sideshowbarker and removed request for a team February 7, 2025 18:27
@Josh-Cena
Josh-Cena marked this pull request as draft February 7, 2025 18:27
@Josh-Cena
Josh-Cena removed the request for review from sideshowbarker February 7, 2025 18:27
@Josh-Cena
Josh-Cena force-pushed the explicit-resource-management branch from 20b3c31 to 89e44e1 Compare February 9, 2025 02:11
@Josh-Cena
Josh-Cena force-pushed the explicit-resource-management branch from 15938b0 to 0bb3e9d Compare February 20, 2025 06:46
@github-actions

github-actions Bot commented Mar 7, 2025

Copy link
Copy Markdown
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@Josh-Cena
Josh-Cena force-pushed the explicit-resource-management branch from ab99b64 to 4c9ee68 Compare March 12, 2025 23:23
@github-actions github-actions Bot removed the merge conflicts 🚧 [PR only] label Mar 12, 2025
@Josh-Cena
Josh-Cena marked this pull request as ready for review March 14, 2025 04:33
@Josh-Cena
Josh-Cena requested a review from a team March 14, 2025 04:33
@Josh-Cena

Copy link
Copy Markdown
Member Author

@rbuckton it would be very great if you could provide a technical review of this content. Thank you!

@Josh-Cena
Josh-Cena removed the request for review from a team March 26, 2025 00:54
@github-actions github-actions Bot added the merge conflicts 🚧 [PR only] label Apr 3, 2025
@github-actions

github-actions Bot commented Apr 3, 2025

Copy link
Copy Markdown
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@Josh-Cena
Josh-Cena force-pushed the explicit-resource-management branch from 62972a2 to 7e38ac9 Compare April 3, 2025 04:48
@github-actions github-actions Bot removed the merge conflicts 🚧 [PR only] label Apr 3, 2025
@Josh-Cena
Josh-Cena requested review from a team and pepelsbey and removed request for a team May 13, 2025 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:JS JavaScript docs size/xl [PR only] >1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document ECMAScript explicit resource management

7 participants