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

Method constructor

src/handlers/intent.js:135–139  ·  view source on GitHub ↗

* Creates an instance of IntentEvent. * @param {string} module * @param {string} action * @param {string} value

(module, action, value)

Source from the content-addressed store, hash-verified

133 * @param {string} value
134 */
135 constructor(module, action, value) {
136 this.module = module;
137 this.action = action;
138 this.value = value;
139 }
140
141 preventDefault() {
142 this.#defaultPrevented = true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected