Live data from Hacker News

Explicit Resource Management in JavaScript

allthingssmitty.com

1–2 of 2 posts

Re: Explicit Resource Management in JavaScript

#2
Similarly, explicit resource management in TypeScript is handled using the using declaration (and await using for asynchronous operations), introduced in TypeScript 5.2 as an implementation of a Stage 3 ECMAScript proposal: https://v8.dev/features/explicit-resource-management