You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2025/10/25 12:07:47 UTC
[PR] feat: Add doOnFirst operator (#2363) [pekko]
He-Pin opened a new pull request, #2364:
URL: https://github.com/apache/pekko/pull/2364
(cherry picked from commit 36d8a1b7b7562870bc2b9d450d4921f88c069d13)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] feat: Add doOnFirst operator (#2363) [pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning merged PR #2364:
URL: https://github.com/apache/pekko/pull/2364
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] feat: Add doOnFirst operator (#2363) [pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on PR #2364:
URL: https://github.com/apache/pekko/pull/2364#issuecomment-3446653929
Java 8 can't compile this.
See https://github.com/apache/pekko/actions/runs/18802835038/job/53652684603?pr=2364
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] feat: Add doOnFirst operator (#2363) [pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on code in PR #2364:
URL: https://github.com/apache/pekko/pull/2364#discussion_r2462758311
##########
stream-tests/src/test/java/org/apache/pekko/stream/javadsl/FlowTest.java:
##########
@@ -123,6 +123,28 @@ public java.util.List<String> apply(java.util.List<String> elem) {
probe.expectMsgEquals("de");
}
+ @Test
+ public void mustBeAbleToUseDoOnFirst() throws Exception {
+ final var invoked = new AtomicInteger(0);
Review Comment:
Need to Java 8 compatible code - ie no `var`s
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] feat: Add doOnFirst operator (#2363) [pekko]
Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin commented on code in PR #2364:
URL: https://github.com/apache/pekko/pull/2364#discussion_r2462761396
##########
stream-tests/src/test/java/org/apache/pekko/stream/javadsl/FlowTest.java:
##########
@@ -123,6 +123,28 @@ public java.util.List<String> apply(java.util.List<String> elem) {
probe.expectMsgEquals("de");
}
+ @Test
+ public void mustBeAbleToUseDoOnFirst() throws Exception {
+ final var invoked = new AtomicInteger(0);
Review Comment:
opps!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org