type Data struct {
Msg string `json:"msg"`
}
// Greet returns a greeting for the given name
func (a *App) Greet(d Data) string {
return "hello"
}
Error "Overlapped I/O operation is in progress" occurs if the length of the parameter is relatively long (approximately len(msg) >= 9000).
Steps to reproduce:
Download this project
myproject.zip
Run wails dev
Click the Greet button
Then you will see the error message on the console.
Error happens on Windows, the app works well on Linux.