api: When forwarding from Listener onAddresses to Listener2 continue to use onResult by kannanjgithub · Pull Request #11666 · grpc/grpc-java
…ization context to call it from inside of the synchronization context. Fixes grpc#11662.
kannanjgithub
changed the title
api: Listener2.onResult2 can only be called from within the synchronization context
api: Use synchronization context when forwarding from Listener onAddresses to Listener2 onResult2
kannanjgithub
changed the title
api: Use synchronization context when forwarding from Listener onAddresses to Listener2 onResult2
api: When forwarding from Listener onAddresses to Listener2 continue to use onResult
kannanjgithub added a commit to kannanjgithub/grpc-java that referenced this pull request
Nov 14, 2024…to use onResult (grpc#11666) When forwarding from Listener onAddresses to Listener2 continue to use onResult and not onResult2 because the latter requires to be called from within synchronization context and it breaks existing code that didn't need to do so when using the old Listener interface.
kannanjgithub added a commit that referenced this pull request
Nov 14, 2024…to use onResult (#11666) (#11688) When forwarding from Listener onAddresses to Listener2 continue to use onResult and not onResult2 because the latter requires to be called from within synchronization context and it breaks existing code that didn't need to do so when using the old Listener interface.
github-actions
bot
locked as resolved and limited conversation to collaborators
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters