Javascript – Why does this code seem to have a 20 second delay before finally finishing
I have inherited some node js code, which gets called using command line parameters such as node. --op (where the whatever can be doProcessA, doProcessB, etc.) Each of these processes does different things, such as reading data from an API,…