Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bindNodeCallback): ensure underlying function is not called twice… #5780

Merged

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Sep 29, 2020

… during subscription

  • Fixes an issue where bindNodeCallback observables would call the underlying function twice if it has not called back yet, and more than one subscription occurred.
  • Reduces the size of the implementation
  • Adds more comments to the file.

… during subscription

- Fixes an issue where `bindNodeCallback` observables would call the underlying function twice if it has not called back yet, and more than one subscription occurred.
- Reduces the size of the implementation
- Adds more comments to the file.
@benlesh benlesh requested a review from cartant September 29, 2020 22:56
@benlesh
Copy link
Member Author

benlesh commented Sep 29, 2020

Node that bindCallback will have exactly the same issue.

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