-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Implemented the 'Amb' operator #460
Conversation
RxJava-pull-requests #379 FAILURE |
You shouldn't define a vararg method taking a generic type, because you cannot use it without getting warnings (we've already had this with other operators). Instead, define an overload for 2 args, 3 args, 4 args, ... |
Yup, it's a pain, but this is what we ended up doing for zip, merge, etc instead of using varargs. |
RxJava-pull-requests #382 FAILURE |
Merge Amb Operator in PR #460
Thank you |
Merge Amb Operator in PR ReactiveX#460
Merge Amb Operator in PR ReactiveX/RxJava#460
Merge Amb Operator in PR ReactiveX/RxJava#460
Hi, this PR implemented the
Amb
operator #22. I used varargs to support the array version and first-second version in one method. So in my PR, there are only two variants.