feat(streaming): Simplify streaming logic and remove persistent tracking

This commit is contained in:
cogwheel0
2025-11-27 14:36:13 +05:30
parent e6f8a76f13
commit 61a3fcc83a
11 changed files with 181 additions and 1066 deletions

View File

@@ -17,7 +17,7 @@ typedef StreamingErrorCallback =
///
/// This wraps a [StreamSubscription], normalises error handling, and exposes
/// a unified cancel method so UI layers can stop streaming without having to
/// know the underlying transport (SSE, polling, etc.).
/// know the underlying transport (WebSocket, polling, etc.).
class StreamingResponseController {
StreamingResponseController({
required Stream<String> stream,