$ luarocks install cosock
cosock is a library that provides a coroutine executor for luasocket code.
Unlike existing coroutine executors it aims to provide a socket facade API
inside each coroutine that is as close to the native luasocket API as is
possible.
Versions
Dependencies
lua >= 5.1
LuaSec >= 1
LuaSocket >= 3.0rc1-2