Created
September 28, 2024 13:16
-
-
Save tubaman/72ecf37ce6f818b66348015eb4b218bd to your computer and use it in GitHub Desktop.
AnyWidget prototype of pyodide-worker to main thread RPC
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
export function render({model, el}) { | |
model.on("change:request", () => { | |
//btn.innerHTML = `count is ${count()}`; | |
console.log("calling " + window.GM.info); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment