How make promise execute synchronously?
There are of course legit reasons to force synchronous execution of a promise in js. The most obvious is when require‘ing a file that needs to initialize using some asynchronous stuff, and optimization is not an overriding concern. Seems like the package synchronized-promise seems like it ought to do the trick. In your case (warning … Read more