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

Function then

src/dialogs/dialog.js:152–155  ·  view source on GitHub ↗

* Set callback function * @param {function(HTMLCollection)} callback Callback function * @returns {PromiseLike}

(callback)

Source from the content-addressed store, hash-verified

150 * @returns {PromiseLike}
151 */
152 function then(callback) {
153 _then = callback;
154 return promiseLike;
155 }
156
157 /**
158 * Set onclick callback function

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected