Skip to content

Conversation

lutovich
Copy link
Contributor

It is possible to subscribe to Result with an observer which consists of three functions: onNext, onError and onCompleted. All three are optional. However result was not handling absence of onCompleted correctly which resulted in a failed promise and UnhandledPromiseRejectionWarning.

Fixes #257

It is possible to subscribe to `Result` with an observer which consists
of three functions: `onNext`, `onError` and `onCompleted`. All three
are optional. However result was not handling absence of `onCompleted`
correctly which resulted in a failed promise and
`UnhandledPromiseRejectionWarning`.
@praveenag praveenag merged commit be4ffad into neo4j:1.4 Jun 27, 2017
@lutovich lutovich deleted the 1.4-handle-absent-onCompleted branch June 29, 2017 08:43
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