Last active
June 18, 2024 13:31
-
-
Save cstrnt/21e46bef99f03e89826d1b3ddf4dee79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.mavenoidExternalScripts = { | |
async randomScript(input) { | |
console.log("randomScript", input); | |
await new Promise((resolve) => setTimeout(resolve, 1000)); | |
console.log("randomScript done"); | |
return { | |
formData: [ | |
{ | |
id: "optimal_materials", | |
value: { | |
type: "json", | |
value: "", | |
}, | |
}, | |
], | |
}; | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment