| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
This will need then/promise#58 to be fixed in order for it to work. If they refuse that pull request we might need to switch libraries. |
Sorry, something went wrong.
There was a problem hiding this comment.
We need to return Promises within the tests
Sorry, something went wrong.
|
We may want to consider using https://github.com/zenparsing/v8-promise instead. This will more closely model the construct we'll use once Node 0.12 lands. A note: we should also coerce all inbound Promises to this implementation using Promise.cast. |
Sorry, something went wrong.
|
v8-promise doesn't have sync-polling of a promise however. :( |
Sorry, something went wrong.
|
We finally settled on forking then/promise into a new repo nodegit/promise and using that in promisify-node. |
Sorry, something went wrong.
|
This makes me wonder if we should keep promisify-node generic and fork it to nodegit as well? |
Sorry, something went wrong.
|
We can do that. Keep all of nodegit's stuff in this org. |
Sorry, something went wrong.
This should pass tests after then/promises#58 is fixed.
Added ability for callbacks to poll promises for fulfillment value
|
I still don't understand, why not to use the Bluebird-lib? |
Sorry, something went wrong.
|
This PR is superseded by #854 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This will allow a callback native to libgit2 to actually have a promise value be returned in the callback eventually. We'll be able to not pause the JS thread while we wait for authentication or any other callback that is triggered from the V8 side.