lua-async-await
lua-async-await copied to clipboard
Fix `thread` function of sync coroutines
trafficstars
Sorry if I've got this completely wrong!
I don't think the expected printed values of the sync coroutines function thread match up.
https://github.com/ms-jpq/lua-async-await/blob/a54c07887056999fe44b642e7124381a8dcbaefd/README.md#L118-L123 https://github.com/ms-jpq/lua-async-await/blob/a54c07887056999fe44b642e7124381a8dcbaefd/README.md#L128
Found this too, pong expects a function to be passed and creates a thread itself
https://github.com/ms-jpq/lua-async-await/blob/a54c07887056999fe44b642e7124381a8dcbaefd/README.md#L217-L224