TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rsvp.js

94 pointsby dkoover 12 years ago

8 comments

tlrobinsonover 12 years ago
Good to see more implementations of Promises/A. It would be really nice if everyone settled on one promise API.<p>Check out "Q" as well: <a href="https://github.com/kriskowal/q" rel="nofollow">https://github.com/kriskowal/q</a><p>There are adapters for many of Node's APIs (and it's easy to create more)<p><a href="https://github.com/kriskowal/q-io" rel="nofollow">https://github.com/kriskowal/q-io</a><p><a href="https://github.com/kriskowal/q-fs" rel="nofollow">https://github.com/kriskowal/q-fs</a><p><a href="https://github.com/kriskowal/q-http" rel="nofollow">https://github.com/kriskowal/q-http</a>
评论 #4662301 未加载
jherdmanover 12 years ago
Does this differ wildly from jQuery's Deferred object? <a href="http://api.jquery.com/category/deferred-object/" rel="nofollow">http://api.jquery.com/category/deferred-object/</a>
评论 #4661961 未加载
评论 #4661551 未加载
评论 #4661564 未加载
phase_9over 12 years ago
Yet another promises library (: It's great that people are writing and sharing code, but it feels like people are trying to re-invent the wheel when stable, mature and well tested libraries[0] already exist for these problems.<p>[0] <a href="https://github.com/cujojs/when" rel="nofollow">https://github.com/cujojs/when</a>
评论 #4662020 未加载
评论 #4664581 未加载
评论 #4662034 未加载
itoddover 12 years ago
I've been using underscore's _.after [0] to help manage my async code. It's extremely simple and does the job.<p>[0] <a href="http://underscorejs.org/#after" rel="nofollow">http://underscorejs.org/#after</a>
matthugginsover 12 years ago
This is actually very cool. I've never heard of Promises/A before, but after toying with Node.JS a bit (and being turned off after having many nested callbacks in my code), I am definitely a fan of the flat code structure this library allows.<p>Although it's obviously not built in favor of any particular JS framework or environment, it may entice me to give Node.JS another shot in the future with implementing RSVP.
评论 #4661439 未加载
评论 #4661521 未加载
olalondeover 12 years ago
How is this different from the async library? Are they both trying to solve the same problem or are they complementary? <a href="https://github.com/caolan/async" rel="nofollow">https://github.com/caolan/async</a>
评论 #4661593 未加载
firefoxman1over 12 years ago
If anyone wants a simpler async flow control lib in under 20 LOC check out my Valv library: <a href="https://github.com/kevinmctigue/valv" rel="nofollow">https://github.com/kevinmctigue/valv</a>
amasadover 12 years ago
Looks great. How is using mutation events for async better than `setTimeout(fn, 0)` ?
评论 #4662575 未加载