mdedetrich commented on PR #2199: URL: https://github.com/apache/pekko/pull/2199#issuecomment-3287767244
> By the way, you can never limit a user; do not throw an exception, as a user can always do something like sneakyThrow, with this, we can use some function which can throw inside a lambda No we should definitely limit what users can do, its part of good API design. Throwing exceptions in predicates make zero sense and leads to undefined behaviour in a lot of cases -- 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 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