MCPcopy Index your code
hub / github.com/coder/mux / isLiveStreamMessage

Function isLiveStreamMessage

src/node/services/sideQuestionService.ts:606–608  ·  view source on GitHub ↗
(message: MuxMessage)

Source from the content-addressed store, hash-verified

604 parts: liveStream.parts,
605 };
606 const isLiveStreamMessage = (message: MuxMessage): boolean =>
607 message.id === liveStream.messageId ||
608 message.metadata?.historySequence === liveStream.historySequence;
609 const existingIndex = messages.findIndex(isLiveStreamMessage);
610 if (existingIndex === -1) {
611 messages.push(liveMessage);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected