mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
[next] xworker.sync pollution example (#1659)
This commit is contained in:
committed by
GitHub
parent
4cc9647dc6
commit
da3b43abdd
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user