Promises
-
JavaScript
How long did I sleep last night: using Cordova, HealthKit, and JavaScript, and a handful of Promises
Now that we can know how much activity I did yesterday, we can look at whether I am getting enough sleep.…
Read More » -
JavaScript
How many steps did I walk yesterday: using Cordova, HealthKit, and JavaScript, and a handful of Promises
As people who know me might know I have been playing around with various wearables for some years now, starting…
Read More » -
JavaScript
Let the API Do the Hard Work: Promises in JavaScript with Q
Today’s lesson: Delegate the hard work orthogonal to your business logic – concurrency, asynchronicity, state maintenance during iteration etc. –…
Read More » -
JavaScript
Promises you can trust
JavaScript Promises provide a strong programming model for the future of JavaScript development. So here I’m playing with promises. First…
Read More » -
JavaScript
Promises vs Callbacks – Code comparison
I am not going to highlight pros of promises and cons of callbacks. There is plenty of good reading about…
Read More » -
JavaScript
Make Me a Promise
If you haven’t worked with JavaScript in over a decade, you might be surprised at the advances that have been…
Read More »