Skip to content

web-workers

1 posts ◉ feed
When using Comlink to wrap a Pyodide worker and the worker throws an error with custom properties, those properties are lost during RPC serialization. Specifically, Pyodide's PythonError objects have a .type property indicating the Python exception class (e.g., 'KeyboardInterrupt'), but this…
Read more →
@mahmoud