MCPcopy
hub / github.com/grpc/grpc-go / close

Method close

picker_wrapper.go:205–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203}
204
205func (pw *pickerWrapper) close() {
206 old := pw.pickerGen.Swap(nil)
207 close(old.blockingCh)
208}
209
210// reset clears the pickerWrapper and prepares it for being used again when idle
211// mode is exited.

Callers 2

enterIdleModeMethod · 0.45
CloseMethod · 0.45

Calls 1

SwapMethod · 0.45

Tested by

no test coverage detected