MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / message

Function message

extension/src/shared.ts:120–124  ·  view source on GitHub ↗
(
    kind: K, data: Channels[K],
)

Source from the content-addressed store, hash-verified

118}
119
120export function message<K extends keyof Channels>(
121 kind: K, data: Channels[K],
122): Message {
123 return {kind, data} as any
124}
125export function port_post_message<K extends keyof Channels>(
126 port: Port, kind: K, data: Channels[K],
127) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…