emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.68-git
clang version 20.0.0git
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /opt/homebrew/Cellar/emscripten/3.1.68/libexec/llvm/bin
We are using the deleteLater() function a lot in our TypeScript codebase to not forget to delete a short lived reference. This works quite well. The only drawback is that we have to patch the generated TypeScript definitions to include the deleteLater() function for each interface that also has the delete() function. And we patch the MainModule export to include the setDelayFunction(...) definition, so that we can set the delay function at MainModule instantiation.
It would be great, if these two could be added to the generated TypeScript definitions and also be made an official API.