MCPcopy
hub / github.com/CopilotKit/CopilotKit / TextStream

Interface TextStream

packages/bot-slack/src/native-stream.ts:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42/** A minimal `{ append(fullText), finish() }` streaming sink. */
43export interface TextStream {
44 /** Replace the in-flight buffer with the accumulated text. */
45 append(fullText: string): void;
46 /** Flush the final state and close the stream. */
47 finish(): Promise<void>;
48}
49
50/** The Slack streaming calls, injected so this file stays SDK-free. */
51export interface NativeStreamTransport {

Callers 16

markInterruptedFunction · 0.65
transcribeAudioFunction · 0.65
finishMethod · 0.65
onTextMessageStartEventFunction · 0.65
onRunFinishedEventFunction · 0.65
onRunErrorEventFunction · 0.65

Implementers 8

NativeMessageStreampackages/bot-slack/src/native-stream.t
EditStreampackages/bot-telegram/src/chunked-edit
ChunkedEditStreampackages/bot-telegram/src/chunked-edit
TeamsMessageStreampackages/bot-teams/src/message-stream.
MessageStreampackages/bot-slack/src/message-stream.
ChunkedMessageStreampackages/bot-slack/src/chunked-message
MessageStreampackages/bot-discord/src/message-strea
ChunkedMessageStreampackages/bot-discord/src/chunked-messa

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…