ParentFull threadno_way·There is Atomics.waitAsync which can be used on the main thread and just returns a promise. It is shipped at least in chrome.View on HN