Skip to content

WebSocket & PyWorker from Python needs improvements #2365

@WebReflection

Description

@WebReflection

What happened?

There are at least 2 things that should be improved in the PyWorker:

  • avoid the need to require pyscript.ffi to convert to_js whatever was passed along (do that internally)
  • allow a config file to be a TOML, not just JS or JSON

WebSockets related

  • understand async listeners and await these if possible
  • provide an option to force binaryType when constructed

So far, that's it.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions