UNPKG

@gguf/claw

Version:

Multi-channel AI gateway with extensible messaging integrations

13 lines (12 loc) 400 B
export type DraftStreamLoop = { update: (text: string) => void; flush: () => Promise<void>; stop: () => void; resetPending: () => void; waitForInFlight: () => Promise<void>; }; export declare function createDraftStreamLoop(params: { throttleMs: number; isStopped: () => boolean; sendOrEditStreamMessage: (text: string) => Promise<void | boolean>; }): DraftStreamLoop;