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-408 years ago341 downloads
1.0-378 years ago63 downloads
1.0-368 years ago81 downloads
1.0-358 years ago100 downloads
1.0-318 years ago(revision: 5)57 downloads
1.0-168 years ago1,159 downloads
1.0-148 years ago(revision: 6)626 downloads
1.0-138 years ago(revision: 2)1,170 downloads
1.0-129 years ago133 downloads
1.0-119 years ago61 downloads
1.0-19 years ago5,398 downloads
0.1-110 years ago(revision: 2)125 downloads

Dependencies

lua >= 5.1

Dependency for

copas-ev, layeredata, layeredata, petrisport

Manifests