co2 is an extended replacement for the lua coroutine library
$ luarocks install --server=https://luarocks.org/dev co2
root