MCPcopy
hub / github.com/DO-SAY-GO/dn / wrap

Function wrap

src/protocol.js:190–192  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

188 }
189
190 function wrap(fn) {
191 return ({message}) => fn(message.params)
192 }
193}

Callers 1

onFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected