Oscar Pernia

Results 7 comments of Oscar Pernia

That is not 100% accurate if your target browser is an older one.

I don't know if you are too busy af but I found the answer and I don't know if you have the time to create an example of a ping...

don't worry, I saw in the tests that you are not testing the `(*Conn) .Read()` method, it's only dialing to a ws server, no reading

forget it, you are in fact reading in the wstest.Echo, but I think it has something to do when you are binding the Go function with the JS function

I tried this other example and also worked, with Promise object instead of callback for compatibility with `async` and `await` js keywords: ```go //go:build js && wasm package main import...

Same issue here, tinygo should allow compiling non-main packages and generate some kind of object file with symbols to link to another packages (main or others) using `//go:linkname` compiler directive....

This could possibly fix this issue also #2703 By allowing compiling non-main packages