MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / run

Method run

runtime/src/element.js:40–40  ·  view source on GitHub ↗
(src, opts)

Source from the content-addressed store, hash-verified

38
39 // Run a Python source string on the element's worker. Resolves with { out, ms }.
40 run(src, opts) { return this.worker.run(src, opts); }
41
42 // Register a streaming stdout handler; fires per raw print() chunk (body + its `end`), no newline added.
43 onOutput(handler) { this.worker.onOutput(handler); }

Callers 3

worker.jsFile · 0.45
connectedCallbackMethod · 0.45
runtime.test.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected