mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 02:57:46 +00:00
2f9e39e21c
I am not entirely sure what it's doing (it seems related to js.FuncOf), but tests still seem to pass when this code is removed. So let's remove it.
18 lines
253 B
Go
18 lines
253 B
Go
//go:build wasm && !wasi && !scheduler.none && !wasip1 && !wasip2 && !wasm_unknown
|
|
|
|
package runtime
|
|
|
|
//export resume
|
|
func resume() {
|
|
go func() {
|
|
handleEvent()
|
|
}()
|
|
|
|
scheduler(false)
|
|
}
|
|
|
|
//export go_scheduler
|
|
func go_scheduler() {
|
|
scheduler(false)
|
|
}
|