Top-level Awaiting for Godot
summary
Shows a concrete path to making await valid at module top level: attempted a Node patch in May that wraps modules as an async IIFE and it breaks require, so that approach fails; spec work makes each module record async with a promise capability, implements spec-level await and lets engines choose semantics; committee discussion moves the idea to stage one then stage two (May 2018) after resolving module/script scope and cycle concerns; prefers variant B semantics (block children but not siblings).
AI-written summary · about








