MCPcopy Index your code
hub / github.com/cameri/nostream / createNoticeMessage

Function createNoticeMessage

src/utils/messages.ts:18–20  ·  view source on GitHub ↗
(notice: string)

Source from the content-addressed store, hash-verified

16import { EventId } from '../@types/base'
17
18export const createNoticeMessage = (notice: string): NoticeMessage => {
19 return [MessageType.NOTICE, notice]
20}
21
22export const createOutgoingEventMessage = (subscriptionId: SubscriptionId, event: Event): OutgoingMessage => {
23 return [MessageType.EVENT, subscriptionId, event]

Callers 3

messages.spec.tsFile · 0.90
onClientMessageMethod · 0.90
handleMessageMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected