Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Promises #20

Open
igorw opened this issue Nov 30, 2012 · 0 comments
Open

Promises #20

igorw opened this issue Nov 30, 2012 · 0 comments

Comments

@igorw
Copy link
Collaborator

igorw commented Nov 30, 2012

A promise-based API using react/promise would be interesting.

One main question to deal with though: Since callbacks can receive many return values but promises can only hold one value, what do we do. An option would be to resolve the promise with an array of arguments.

Better suggestions welcome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant