pyscript / docs

The source code for the official documentation of PyScript.
https://docs.pyscript.net
8 stars 10 forks source link

F.A.Q. improvement: explain the deadlock case #97

Closed WebReflection closed 4 months ago

WebReflection commented 4 months ago

The issue in a nutshell: users might see this error:

💀🔒 - Possible deadlock if proxy.runAsync(...args) is awaited

This comes from coincident but it's actually very poorly documented among all projects (nothing in coincident, nothing in polyscript, nothing in PyScript) so I think we should improve the current state of affairs around this possible issue that we can't actually solve but it might bother users not understanding what's wrong with the code they wrote.