MCPcopy Create free account
hub / github.com/facebook/time / SetReadTimeout

Method SetReadTimeout

sa53/protocol/protocol.go:107–109  ·  view source on GitHub ↗

SetReadTimeout sets the read timeout on the underlying port.

(d time.Duration)

Source from the content-addressed store, hash-verified

105
106// SetReadTimeout sets the read timeout on the underlying port.
107func (m *Mac) SetReadTimeout(d time.Duration) error {
108 return m.port.SetReadTimeout(d)
109}
110
111// WrapPort installs a wrapping interceptor around the underlying port. The
112// callback receives the current port and returns a wrapped version that will

Callers

nothing calls this directly

Calls 1

SetReadTimeoutMethod · 0.65

Tested by

no test coverage detected