HNHacker News
TopNewBestAskShowJobs

dereke

47 karma · joined August 15, 2014

submissionscomments
dereke··on RQ – A small JavaScript library for managing asychronicity
pogoscript.org has some nice features to let you use async like it was sync.

  fs = require 'fs'
  mojo = fs.readFile 'mojo.txt' 'utf-8' ^!
  console.log (mojo)
(note that if readFile returned a promise you wouldn't need to use the ^)
← PreviousPage 2 of 2