gianm commented on PR #20074: URL: https://github.com/apache/druid/pull/20074#issuecomment-5609862895
> Yea, that seems a reasonable way to use this, allowing the consumer to just set their callbacks up to gracefully handle the `AsyncResourceCanceledException` and not having to explicitly cancel their waiting. Should I mention this usage pattern in the javadocs? It wouldn't hurt. Probably the javadoc for `addReadyCallback` would be the right place for it. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
