- cross-posted to:
- typescript
- cross-posted to:
- typescript
TypeScript 5.2 introduces ‘using’, a keyword that disposes anything with a Symbol.dispose function upon leaving scope, making resource management easier.
You must log in or # to comment.
TypeScript 5.2 introduces ‘using’, a keyword that disposes anything with a Symbol.dispose function upon leaving scope, making resource management easier.