Skip to content

Conversation

@jimlloyd
Copy link
Contributor

@joeferner This PR mostly changes documentation about Promises. One significant change is that I figured out how to make this implementation work with the popular promises library Q. I also discovered the bluebird now works with node 0.8 after all. This means all 5 libraries I have test with pass all 6 cases in our test matrix.

I also realized that since the three promisified methods of the java module are not promisified until onJvmCreated that they cannot be the first java method an application calls. For now, I just recommend calling another method such as java.import() first. I considered creating a public method java.finalizeInitialization(), which would call the internal method ensureJvm(), but it seemed more trouble than it was worth, at last at the moment.

joeferner added a commit that referenced this pull request Jan 15, 2015
Clarifications to Promises implementation (mostly documentation).
@joeferner joeferner merged commit cecac70 into joeferner:master Jan 15, 2015
@jimlloyd jimlloyd deleted the feature/promises-clarifications.r1 branch March 14, 2015 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants