-
Notifications
You must be signed in to change notification settings - Fork 110
Add UnicastSubject #213
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
Add UnicastSubject #213
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing 😃
I have just one minor scaladoc nitpick (see below), otherwise I like it 👍
| * requests a limited amount, queueing is involved and only those values are retained which | ||
| * weren't requested by the `Subscriber` at that time. | ||
| */ | ||
| @Experimental |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Putting the @Experimental annotation here is fine, but in addition, you could also add a red badge in the scaladoc comment, as in ErrorDelayingObservable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, it looks fine!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ruippeixotog you forgot to add $experimental to the class doc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. I also added @Experimental to the methods in order to be consistent with what was done in ErrorDelayingObservable.
3494dba to
55aff5e
Compare
55aff5e to
4e50524
Compare
samuelgruetter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
👍 |
|
Thanks @ruippeixotog |
This pull request adds a wrapper for JavaRx
UnicastSubject. Although theSubjectis experimental, I would like to see a Scala wrapper for it as it's very useful in one of my projects.I read #100, but I'm still not sure of how I should mark classes as experimental. I opted to use the annotation that is used in Java, but please tell me if you want it another way and I'll change it.