So I ment offline mode, is there a use for it when you want to wait for a reaction after event listener for example
— Or is it just for online stuff
— You can do fetch('text.txt') .then(res=>res.txt()) .then(data=>data) .catch(err=>err)
— You use to wait for a promise to be resolved. In node you can use it nicely for file system operations in the browser to fetch any stuff online. You coulf also use it together with setTimeout() to write blocking code with it.