Skip to content

Instantly share code, notes, and snippets.

@developerjamiu
Last active August 12, 2025 14:11
Show Gist options
  • Save developerjamiu/147ff6a24230efc8d371816f5966cc4c to your computer and use it in GitHub Desktop.
Save developerjamiu/147ff6a24230efc8d371816f5966cc4c to your computer and use it in GitHub Desktop.
Testing out Globe Runtime Remote Module Call
const sdk = {
init: function () {
return {};
},
functions: {
greet: function (_, name, callbackId) {
const greeting = `Hello, ${name}!`;
const result = new TextEncoder().encode(greeting);
Dart.send_value(callbackId, result);
},
},
};
export default sdk;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment