@conciergus/chat - v0.3.1
    Preparing search index...

    Function useStreamingManager

    • Parameters

      • config: StreamingManagerConfig = {}
      • callbacks: {
            onStreamProgress?: (
                streamId: string,
                progress: number,
                tokenCount: number,
            ) => void;
            onStreamComplete?: (streamId: string, finalMessage: UIMessage) => void;
            onStreamError?: (streamId: string, error: Error) => void;
            onConnectionStatusChange?: (
                streamId: string,
                status: "error" | "completed" | "streaming" | "connecting" | "aborted",
            ) => void;
        } = {}

      Returns StreamingManagerHook