MCPcopy Index your code
hub / github.com/tailscale/tailscale / addRespToQueue

Method addRespToQueue

control/controlclient/map.go:260–267  ·  view source on GitHub ↗
(resp responseWithSource)

Source from the content-addressed store, hash-verified

258}
259
260func (ms *mapSession) addRespToQueue(resp responseWithSource) error {
261 select {
262 case ms.changeQueue <- resp:
263 return nil
264 case <-ms.sessionAliveCtx.Done():
265 return ErrChangeQueueClosed
266 }
267}
268
269// handleNonKeepAliveMapResponse handles a non-KeepAlive MapResponse (full or
270// incremental).

Callers 2

updateDiscoForNodeMethod · 0.95

Calls 1

DoneMethod · 0.65

Tested by

no test coverage detected