MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / editMessage

Method editMessage

packages/kilo-chat/src/client.ts:131–139  ·  view source on GitHub ↗
(messageId: string, req: EditMessageRequest)

Source from the content-addressed store, hash-verified

129 })
130 );
131 this.sendQueues.set(req.conversationId, next);
132 // Best-effort cleanup so the map doesn't grow unbounded for long-lived
133 // clients. Only clear if this send is still the tail.
134 const cleanup = (): void => {
135 if (this.sendQueues.get(req.conversationId) === next) {
136 this.sendQueues.delete(req.conversationId);
137 }
138 };
139 void next.then(cleanup, cleanup);
140 return next;
141 }
142

Callers 2

useEditMessageFunction · 0.45
client.test.tsFile · 0.45

Calls 1

httpRequestMethod · 0.95

Tested by

no test coverage detected