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-405 years ago217 downloads
1.0-375 years ago28 downloads
1.0-365 years ago23 downloads
1.0-355 years ago19 downloads
1.0-315 years ago(revision: 5)23 downloads
1.0-165 years ago1,128 downloads
1.0-145 years ago(revision: 6)505 downloads
1.0-135 years ago(revision: 2)1,105 downloads
1.0-125 years ago102 downloads
1.0-115 years ago30 downloads
1.0-16 years ago5,327 downloads
0.1-17 years ago(revision: 2)94 downloads

Dependencies

lua >= 5.1

Dependency for

copas-ev, layeredata, layeredata, petrisport

Manifests