mirror of
https://github.com/pyscript/pyscript.git
synced 2026-04-05 05:00:30 -04:00
Worker sync utility (#1511)
* patched an issue with wasmoon randomly asking to resolve proxy references * simplified pyodide and micropython dance by grouping their common utilities together * created an integration test around a worker to main thread input between MicroPython and Lua * commented some weird bugs / funny behaviors around both MicroPython and Pyodide * other minor clean ups
This commit is contained in:
committed by
GitHub
parent
0cdbfbeb30
commit
af72e232c3
6
pyscript.core/test/worker/input.rb
Normal file
6
pyscript.core/test/worker/input.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
require "js"
|
||||
|
||||
xworker = JS::eval("return xworker")
|
||||
|
||||
puts "What is 2 + 3?"
|
||||
puts xworker.sync.input("What is 2 + 3?")
|
||||
Reference in New Issue
Block a user