Loading...
My worker
This page is an example of using PyScript to run a worker separately to the main thread.
Some numbers
a:
b:
Main thread
Run quick calculation
Run long calculation
Update:
a + b = ??
Worker thread
Run quick calculation
Run long calculation
Update:
a + b = ??