Webworker console

This example runs Pyodide in a web-worker, and sends javascript calls from the console to the web-worker. This means that long running python calls don't hang the main window Javascript. Really useful for things like running pytest tests, where you want to see output as it happens.

HTML Code: console_webworker.html

Worker Code: console_webworker.js