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

Function ok

src/dialogs/dialog.js:182–185  ·  view source on GitHub ↗

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

(onOk)

Source from the content-addressed store, hash-verified

180 * @returns {PromiseLike}
181 */
182 function ok(onOk) {
183 _onOk = onOk;
184 return promiseLike;
185 }
186
187 /**
188 * Set onCancel callback function

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected