(p *atomic.Pointer[func() bool], newStop *func() bool)
| 203 | } |
| 204 | |
| 205 | func swapTimeoutStop(p *atomic.Pointer[func() bool], newStop *func() bool) { |
| 206 | oldStop := p.Swap(newStop) |
| 207 | if oldStop != nil { |
| 208 | (*oldStop)() |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | func (c *Conn) flate() bool { |
| 213 | return c.copts != nil |
no outgoing calls
no test coverage detected
searching dependent graphs…