[next] xworker.sync pollution example (#1659)

This commit is contained in:
Andrea Giammarchi
2023-08-31 15:37:17 +02:00
committed by GitHub
parent 4cc9647dc6
commit da3b43abdd
6 changed files with 24 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
from pyscript import display
from pyscript import display, sync
import a
display("Hello World", target="test", append=True)
print("sleeping")
sync.sleep(1)
print("awake")