Skip to content

Use the transform option on the *main* thread too #148

@WebReflection

Description

@WebReflection

We recently tried to roundtrip MicroPython to Pyodide (main to worker) and things didn't go nearly as smooth as expected, mostly because we don't provide a transform functionality in coincident, which is also not trivial as we bootstrap coincident earlier, even before we know which runtime it's going to interact with.

The goal of this issue is to find a way to use the transform ability of coincident from the main to the worker so that dictionaries, as well as any other Python type, can be passed along when PyWorker is used main to worker, something we haven't properly tested before.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions