JavaScript Jabber cover image

Things Coming Down the Pipe From TC39 - JSJ 590

JavaScript Jabber

00:00

TypeScript 5.2: Getting Guaranteed Cleanup

This is going to be part of TypeScript 5.2, even though it's not yet supported by your browser. And because you don't need to mess about with all the try and finally and stuff like that, when the variable dies, then that cleanup method will be invoked. So that's where that that way we can get guaranteed cleanup. They're also doing like the ability to specify instead of dispose, which basically just does a wait on the dispose to finish before it proceeds going out of the block.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app