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

forkJoin as a function, refactor and documentation fixes #3287

Merged
merged 6 commits into from
Feb 6, 2018

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Feb 2, 2018

  • removes ForkJoinObservable
  • implements forkJoin as a function, with same ForkJoinSubscriber for optimizations
  • Removes some cruft
  • Improves typing
  • Updates tests
  • Updates docs to show modern imports.

@rxjs-bot
Copy link

rxjs-bot commented Feb 2, 2018

Warnings
⚠️

❗ Big PR (1)

Messages
📖

(1) : Pull Request size seems relatively large. If Pull Request contains multiple changes, split each into separate PR will helps faster, easier review.

CJS: 1363.9KB, global: 730.2KB (gzipped: 118.1KB), min: 141.0KB (gzipped: 30.6KB)

Generated by 🚫 dangerJS

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 97.499% when pulling b2ad7ad on benlesh:forkJoin-fn into d487d6b on ReactiveX:master.


constructor(private parent: OuterSubscriber<T, R>, private outerValue: T, private outerIndex: number) {
constructor(private parent: OuterSubscriber<T, R>, public outerValue: T, public outerIndex: number) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double checking that going from private to public was desired. Was this changed for tests that aren't in this PR that stopped passing because they accessed these, but passed previously?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm... I remember making this change as I worked on this incrementally, because there were some ineffeciencies going on around passing these two things around. Given that OuterSubscriber is really an internal-only type, there's probably not an issue here. But if it's not being used in this PR, I can revert that part.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. Your call. 👍

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the whole class is now marked @internal now, so this class will no longer be in the d.ts that gets published.


constructor(private parent: OuterSubscriber<T, R>, private outerValue: T, private outerIndex: number) {
constructor(private parent: OuterSubscriber<T, R>, public outerValue: T, public outerIndex: number) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the whole class is now marked @internal now, so this class will no longer be in the d.ts that gets published.

@benlesh benlesh merged commit ca5f661 into ReactiveX:master Feb 6, 2018
@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants