We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07e0baa commit 0fa642fCopy full SHA for 0fa642f
apps/sim/lib/copilot/chat-streaming.ts
@@ -49,10 +49,7 @@ function resolvePendingChatStream(chatId: string): void {
49
* (including onComplete and Go-side persistence). Returns immediately if
50
* no stream is active. Gives up after `timeoutMs`.
51
*/
52
-export async function waitForPendingChatStream(
53
- chatId: string,
54
- timeoutMs = 5_000
55
-): Promise<void> {
+export async function waitForPendingChatStream(chatId: string, timeoutMs = 5_000): Promise<void> {
56
const entry = pendingChatStreams.get(chatId)
57
if (!entry) return
58
0 commit comments