TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Rsvp.js

94 点作者 dko超过 12 年前

8 条评论

tlrobinson超过 12 年前
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 未加载
jherdman超过 12 年前
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_9超过 12 年前
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 未加载
itodd超过 12 年前
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>
matthuggins超过 12 年前
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 未加载
olalonde超过 12 年前
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 未加载
firefoxman1超过 12 年前
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>
amasad超过 12 年前
Looks great. How is using mutation events for async better than `setTimeout(fn, 0)` ?
评论 #4662575 未加载