You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importkotlinx.coroutines.delayimportkotlin.time.Duration.Companion.secondssuspendfunmain() {
println("main: before delay")
delay(1.seconds)
println("main: after delay")
}
This works on Wasm/JS,
> Task :wasmJsNodeRun
main: before delay
main: after delay
but silently exits on Wasm/WASI:
> Task :wasmWasiNodeRun
main: before delay
The text was updated successfully, but these errors were encountered:
Versions:
Running the following code in
commonMain
:This works on Wasm/JS,
but silently exits on Wasm/WASI:
The text was updated successfully, but these errors were encountered: