async
31 01 2019
Maks Nemisj | javascript |
If you’re already using async/await syntax, you might notice that forEach is not working for asynced functions. In that case you might start doing old style for loops or even for-of loops. Also if you have a bluebird package already installed you can use bluebird.each() instead. In ECMAScript 2018 there is going to be asynchronous […]
async, each, javascript, promise
17 06 2015
Maks Nemisj | javascript |
Embellishment of a story Recently I had to setup a new mini webserver. The functionality of this server was not very complex: 1. Fetch JSON data from [Jenkins](http://jenkins-cli.com) server 2. Transform JSON into another format 3. Read files from the file system 4. Return the result to the user I took express.js and node-jenkins package […]
async, callbacks, es2015, generators, javascript, node.js