-
Notifications
You must be signed in to change notification settings - Fork 157
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
feat: Add Sink.exists operator #990
Conversation
add test for javadsl, add document |
First: What still missing, the For formating, you can try |
stream/src/main/scala/org/apache/pekko/stream/scaladsl/Flow.scala
Outdated
Show resolved
Hide resolved
stream/src/main/scala/org/apache/pekko/stream/scaladsl/Flow.scala
Outdated
Show resolved
Hide resolved
stream-tests/src/test/java/org/apache/pekko/stream/javadsl/FlowTest.java
Outdated
Show resolved
Hide resolved
stream-tests/src/test/scala/org/apache/pekko/stream/scaladsl/FlowExistsSpec.scala
Outdated
Show resolved
Hide resolved
docs was removed for now, in favor to fire another PR for adding Sink-or-Flow category for document. |
stream-tests/src/test/scala/org/apache/pekko/stream/DslFactoriesConsistencySpec.scala
Outdated
Show resolved
Hide resolved
Friendly ping, we are scheduling a 1.1.0-M1 release soon, would you like to work on this this weekend, thanks. @GreyPlane |
36b2691
to
391613f
Compare
stream-tests/src/test/scala/org/apache/pekko/stream/DslConsistencySpec.scala
Outdated
Show resolved
Hide resolved
stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala
Outdated
Show resolved
Hide resolved
stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala
Outdated
Show resolved
Hide resolved
I will take care of it, as I discussed with @GreyPlane. |
30bf58c
to
380f5eb
Compare
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
@@@ |
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.
A small issue, seemingly unrelated change
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.
Add a bland endline here.
LGTM, although has an irrelevant issue. |
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.
As I have rewritten most of the code, I think we can bring this in, and @GreyPlane Thank you for your time. |
Motivation:
Add the Sink.exists operator.
co-authored with: He-Pin
Result:
![image](https://private-user-images.githubusercontent.com/501740/300532006-0688ec71-b5db-46a2-b320-47db83f4b8b2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODk2NTEsIm5iZiI6MTczOTM4OTM1MSwicGF0aCI6Ii81MDE3NDAvMzAwNTMyMDA2LTA2ODhlYzcxLWI1ZGItNDZhMi1iMzIwLTQ3ZGI4M2Y0YjhiMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQxOTQyMzFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lNWFkMjE2ZmI1YWUwZDcwNDNhN2E4NjZkYmRlYTYxZjA0NzUwNDE1NjYxYzBjYzQ5NTE1ZDM1N2FlOWMxMTI1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.zxJnkj33qY7KOugUZpcVRcxONtM2LjCxUffl8V189Bc)
Rich operators set and close: #973