Y
Hacker News
new
|
ask
|
show
|
jobs
by
svieira
1104 days ago
I'm not _entirely_ sure which RAII you mean, but if you mean something like C#'s `using` or Java's `try-with-resources` or Python's `with`, then
https://github.com/tc39/proposal-explicit-resource-managemen...
and
https://github.com/tc39/proposal-async-explicit-resource-man...
are in stage 3 (of 4 stages) in ECMAScript's language proposal lifecycle and will be coming to a JS engine near you behind a flag soon-ish.