MCPcopy
hub / github.com/tldraw/tldraw / handler

Function handler

templates/socketio-server-example/src/client/App.tsx:63–66  ·  view source on GitHub ↗
(message: any)

Source from the content-addressed store, hash-verified

61 onReceiveMessage: (callback) => {
62 // Listen for tldraw sync protocol messages
63 const handler = (message: any) => {
64 console.log('📥 Received:', message)
65 callback(message)
66 }
67
68 ioSocket.on('tldraw-message', handler)
69

Callers

nothing calls this directly

Calls 1

logMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…