Close closes the ByteLoop, and prevents any further reading.
()
| 31 | |
| 32 | // Close closes the ByteLoop, and prevents any further reading. |
| 33 | func (l *ByteLoop) Close() error { |
| 34 | l.mu.Lock() |
| 35 | defer l.mu.Unlock() |
| 36 | l.closed = true |
| 37 | |
| 38 | return nil |
| 39 | } |
no outgoing calls
no test coverage detected