native-windows-gui icon indicating copy to clipboard operation
native-windows-gui copied to clipboard

Async functions as event handlers don't work as expected

Open zodiacon opened this issue 1 year ago • 0 comments

If an async function is defined, it's immediately "returned", and no code in the fuction executes, even when the first "await" is far. I'm using tokio::main with "Current Thread" flavor.

zodiacon avatar Mar 14 '24 16:03 zodiacon