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

Method EnterIdleModeForTesting

internal/idle/idle.go:188–190  ·  view source on GitHub ↗

EnterIdleModeForTesting instructs the channel to enter idle mode.

()

Source from the content-addressed store, hash-verified

186
187// EnterIdleModeForTesting instructs the channel to enter idle mode.
188func (m *Manager) EnterIdleModeForTesting() {
189 m.tryEnterIdleMode(false)
190}
191
192// OnCallBegin is invoked at the start of every RPC.
193func (m *Manager) OnCallBegin() {

Callers 1

initFunction · 0.80

Calls 1

tryEnterIdleModeMethod · 0.95

Tested by

no test coverage detected