// finish the request and remove it from the map
// allowing the Call to return any accumulated results
finish the request and remove it from the map
allowing the Call to return any accumulated results
// finish the request and remove it from the map // allowing the Call to return any accumulated results
func (twoway *Bilateral) finishRequest(request *rpcClientRequestData) {
	log.Debugf("finish: %v", request)
	if nil != request.reply {
		close(request.reply)
	}
	if nil != request.done {
		request.done <- request
		close(request.done)
	}
	delete(twoway.rpcReturns, request.id)
}
func ( twoway * Bilateral ) finishRequest ( request * rpcClientRequestData ) { log . Debugf ( " " , request ) if nil != request . reply { close ( request . reply ) } if nil != request . done { request . done <- request close ( request . done ) } delete ( twoway . rpcReturns , request . id ) }
finish the request and remove it from the map
allowing the Call to return any accumulated results
finish the request and remove it from the map allowing the Call to return any accumulated results