Message from JavaScript discussions

July 2017

— Stop all IO in a nodejs app

— 

The problems would not be fun to deal with, imo... they'd have to implement it in a way that the rest of the browser JS is unaffected

— Like, stuff for extensions, and other JS-based features common in browsers

— Not to mention other things the browser has to take care of things like reflows, parsing markup etc...

Message permanent page

— I think you would not be able to scoll the page either

— So yeah, sounds dicey in a browser

— Well, await works

— You could have sleep be an operator that basically did the same operations as await

— That would work browser-wise

— But again, would only work for async functions

— But then would it be real sleep? :p

— In a conceptual sense I mean