From ead185fb845b7147cb3747080ec5a2139fa74b07 Mon Sep 17 00:00:00 2001 From: Fangliding Date: Mon, 9 Nov 2026 22:49:40 +0800 Subject: [PATCH] Interrupt --- common/buf/writer.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/buf/writer.go b/common/buf/writer.go index f14d83c3d..882a49ad5 100644 --- a/common/buf/writer.go +++ b/common/buf/writer.go @@ -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