Try the sandbox.
Change the input or code, then run it. This demo exposes one host function: input.get().
What can the code access?
Only the functions listed in hostFunctions. In this demo, that is input.get()
- 1 second
- 32 MB memory
- 8 input.get() calls
- No network or Node.js APIs
Host setup
const result = await run({
source,
hostFunctions: {
input: {
get: () => inputPayload,
},
},
});