This reimplements pyCall to directly call a function via Pyodide rather than reading/writing streams and using SharedArrayBuffer or any other kind of synchronous communication.
Calling 'external' JS functions is done by calling the JS functions directly in the web worker instead of communicating back to ActiveDoc.
This reimplements
pyCall
to directly call a function via Pyodide rather than reading/writing streams and using SharedArrayBuffer or any other kind of synchronous communication.Calling 'external' JS functions is done by calling the JS functions directly in the web worker instead of communicating back to ActiveDoc.
Closes #2