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

Function cancel

src/dialogs/dialog.js:192–195  ·  view source on GitHub ↗

* Set onCancel callback function * @param {function():void} onCancel Callback function * @returns {PromiseLike}

(onCancel)

Source from the content-addressed store, hash-verified

190 * @returns {PromiseLike}
191 */
192 function cancel(onCancel) {
193 _onCancel = onCancel;
194 return promiseLike;
195 }
196
197 return promiseLike;
198}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected