MCPcopy Index your code
hub / github.com/TanStack/ai / sendMessage

Method sendMessage

examples/ts-group-chat/src/hooks/useChatConnection.ts:6–6  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

4export interface ChatAPI {
5 joinChat(username: string, notificationCallback: Function): Promise<any>
6 sendMessage(message: string): Promise<any>
7 getChatState(): Promise<any>
8 pollMessages(): Promise<any[]>
9 leaveChat(): Promise<any>

Callers 15

sendMessageFunction · 0.65
sendMessageFunction · 0.65
use-chat.test.tsFile · 0.65
sendMessageFunction · 0.65
use-chat.test.tsFile · 0.65
sendPromptFunction · 0.65
devtools.test.tsFile · 0.65

Implementers 1

ChatServerexamples/ts-group-chat/chat-server/cap

Calls

no outgoing calls

Tested by

no test coverage detected