He-Pin opened a new issue, #1818:
URL: https://github.com/apache/pekko/issues/1818

   I know that `takewhile` can express `takeuntil` but not that explicitly.
   
   In an AI SSE scenario, takeUntil is always more readable.
   ```
                        // cancels the flux stream after the "[DONE]" is 
received.
                        .takeUntil(SSE_DONE_PREDICATE)
   ```


-- 
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-unsubscr...@pekko.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to