Interrupt

This commit is contained in:
Fangliding 2026-11-09 22:49:40 +08:00
parent 669c01a5d4
commit ead185fb84
No known key found for this signature in database
GPG key ID: 67746ECEFA41C2B4

View file

@ -236,6 +236,10 @@ func (w *BufferedWriter) Close() error {
return common.Close(w.writer)
}
func (w *BufferedWriter) Interrupt() {
common.Interrupt(w.writer)
}
// SequentialWriter is a Writer that writes MultiBuffer sequentially into the underlying io.Writer.
type SequentialWriter struct {
io.Writer