4 ms·
I suspect we'll see people building better abstractions on top of the raw callback APIs Node provides. "Promises" (similar to deferreds/futures), um, promise to
by tlrobinson 17y ago
I suspect we'll see people building better abstractions on top of the raw callback APIs Node provides. "Promises" (similar to deferreds/futures), um, promise to help with this.
- thegoleffect 17y agoI think Promises were removed recently.
- tlrobinson 17y agoCorrect, but they can still be implemented on top of the callback based APIs.
- devinus 17y agoThey already are: http://github.com/kriszyp/node-promise http://github.com/kriszyp/node-promise
- xal 17y agopromises 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.