lua-async-await icon indicating copy to clipboard operation
lua-async-await copied to clipboard

Fix `thread` function of sync coroutines

Open tapayne88 opened this issue 4 years ago • 1 comments
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

tapayne88 avatar Aug 07 '21 19:08 tapayne88

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

tapayne88 avatar Aug 08 '21 09:08 tapayne88