SSE 调整

This commit is contained in:
2026-06-10 15:02:58 +08:00
parent 5f015a5c75
commit 41f2a84979
4 changed files with 92 additions and 9 deletions
+1 -1
View File
@@ -327,5 +327,5 @@ type StreamParams struct {
// Subscription 是订阅者读取 ring buffer 的句柄。
type Subscription interface {
Next(ctx context.Context, lastEventID int64) (events []SSEEvent, closed bool, err error)
Next(ctx context.Context, nextEventID int64) (events []SSEEvent, closed bool, err error)
}