MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / addIntentHandler

Function addIntentHandler

src/handlers/intent.js:93–95  ·  view source on GitHub ↗
(handler)

Source from the content-addressed store, hash-verified

91};
92
93export function addIntentHandler(handler) {
94 handlers.push(handler);
95}
96
97export function removeIntentHandler(handler) {
98 const index = handlers.indexOf(handler);

Callers 3

buyFunction · 0.90
refundFunction · 0.90
constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected