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-404 years ago208 downloads
1.0-374 years ago26 downloads
1.0-364 years ago21 downloads
1.0-354 years ago17 downloads
1.0-314 years ago(revision: 5)21 downloads
1.0-164 years ago1,126 downloads
1.0-144 years ago(revision: 6)503 downloads
1.0-135 years ago(revision: 2)1,103 downloads
1.0-125 years ago100 downloads
1.0-115 years ago28 downloads
1.0-16 years ago5,325 downloads
0.1-16 years ago(revision: 2)92 downloads

Dependencies

lua >= 5.1

Dependency for

copas-ev, layeredata, layeredata, petrisport

Manifests