recentpopularlog in

ianweatherhogg : promise   64

Getting Started | bluebird
Bluebird is a fully featured JavaScript promises library with unmatched performance.
javascript  promise  library  documentation 
march 2017 by ianweatherhogg
Promises: The Sync Problem (part 1) | getiblog
Why our brains need us to write async JavaScript in a sync-looking way, using promises!
javascript  promise  async 
june 2016 by ianweatherhogg
Cancelling Long Promise Chains
The simple way to cancel long chains of promises
javascript  promise 
june 2015 by ianweatherhogg
From callback to (Future -> Functor -> Monad) - Tech.pro
Motivation ========= A fundamental concept in functional programming is composition. It simply describe the mechanism by which we combine simpler things to...
javascript  functional  programming  idiom  pattern  future  promise  compose  functor  monad  lift  5* 
april 2015 by ianweatherhogg
variadic.me - Taking Promises Apart
Opinionated coding posts and write ups on projects.
jquery  promise  derivation  javascript 
october 2013 by ianweatherhogg
The Neophyte's Guide to Scala Part 9: Promises and Futures in practice - Daniel Westheide
Sometimes, there is no NIO-based library available. For instance, most database drivers you’ll find in the Java world nowadays are using blocking IO. If you made a query to your database with such a driver in order to respond to a HTTP request, that call would be made on a web server thread. To avoid that, place all the code talking to the database inside a future block, like so

import concurrent.future
future {
queryDB(query)
}
scala  concurrency  idiom  promise  non  io  executor  context  5*  block 
april 2013 by ianweatherhogg

Copy this bookmark:





to read