Alanxtl commented on code in PR #3440:
URL: https://github.com/apache/dubbo-go/pull/3440#discussion_r3541213909
##########
remoting/exchange.go:
##########
@@ -172,8 +172,8 @@ func AddPendingResponse(pr *PendingResponse) {
pendingResponses.Store(SequenceType(pr.seq), pr)
}
-// get and remove response
-func removePendingResponse(seq SequenceType) *PendingResponse {
+// RemovePendingResponse gets and removes the pending response for the given
sequence ID.
+func RemovePendingResponse(seq SequenceType) *PendingResponse {
Review Comment:
为啥要把这个函数暴露出来 以前的可见性不就足够了吗
--
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]