Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dereke
on April 14, 2015
|
parent
|
context
|
favorite
| on:
RQ – A small JavaScript library for managing asych...
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 ^)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: