Re:Heroku Node.js Support (experimental)
by thegoleffect on Wednesday April 28, 2010 @08:59PM
(#1303265)
I think Promises were removed recently.
[ Parent
| on HN ]
Re:Heroku Node.js Support (experimental)
by tlrobinson on Wednesday April 28, 2010 @09:34PM
(#1303314)
Correct, but they can still be implemented on top of the callback based APIs.
They already are: http://github.com/kriszyp/node-promise
promises need to be build into the language and all libraries have to be build with promises in mind for this to work. Look at io-lang's @ syntax or for a slightly different ( much better ) take, look at go's channels.