JS synchronous trend: survey

    Good day!

    Starting from 8 LTS async / await is fully supported on the Node platform; Starting from Chrome 62 (October 2017), you can use await in the console outside the body of the asynchronous function, i.e. top-level. Today, at the Stage 2 stage, there is a corresponding proposal in tc39. At the same time, there is a huge amount of legacy code with callbacks, even without promises, with a mixture of both, and all sorts of other combinations. Somewhere even left traces of generators. Those. in the JavaScript world, at least 4 different models of the implementation of (a) synchronicity coexist.

    What do you prefer? Do not refuse courtesy to give a minute to the answer. Thank!

    Only registered users can participate in the survey. Sign in , please.

    You are using async / await:


    Also popular now: