coronest

Coroutines that allow nesting

$ luarocks install coronest

Coroutines are a powerful notion to suspend and resume execution of
lightweight threads. They can be used for instance for scheduling,
or for iteration.

When mixing these two uses, a problem arises: there is no way to specify
which `coroutine.resume` should intercept a `coroutine.yield`.

This module provides a thin wrapper around the standard `coroutine`
module to allow the definition of complex behaviors with nested
coroutines.

Versions

1.0-409 years ago373 downloads
1.0-379 years ago68 downloads
1.0-369 years ago205 downloads
1.0-359 years ago149 downloads
1.0-319 years ago(revision: 5)62 downloads
1.0-169 years ago1,161 downloads
1.0-149 years ago(revision: 6)639 downloads
1.0-139 years ago(revision: 2)1,177 downloads
1.0-129 years ago135 downloads
1.0-119 years ago63 downloads
1.0-110 years ago5,412 downloads
0.1-111 years ago(revision: 2)127 downloads

Dependencies

lua >= 5.1

Dependency for

copas-ev, layeredata, layeredata, petrisport

Manifests