MCPcopy Index your code
hub / github.com/pyscript/pyscript / asyncMethod

Function asyncMethod

core/src/plugins/donkey.js:109–112  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

107 }
108 };
109 const asyncMethod = (method) => async () => {
110 if (working) await reload();
111 else farmer?.terminal[method]();
112 };
113 return {
114 process: asyncTask("process"),
115 execute: asyncTask("execute"),

Callers 1

donkey.jsFile · 0.85

Calls 1

reloadFunction · 0.85

Tested by

no test coverage detected