You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
onResult2() now returns a Status but its javadoc API contract says nothing about what it would mean for an implementation to return an error.
ManagedChannelImpl's Listener2 demands that onResult2() be called from the synchronization context ... but this rule isn't mentioned anywhere in the API contract.
Listener2 exposes two methods for reporting errors: onError(Status) and a StatusOr<> field in ResolutionResult. But the API contract says nothing about the difference or why a caller would use one or the other.