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-406 years ago258 downloads
1.0-376 years ago32 downloads
1.0-366 years ago27 downloads
1.0-356 years ago23 downloads
1.0-316 years ago(revision: 5)27 downloads
1.0-166 years ago1,132 downloads
1.0-146 years ago(revision: 6)519 downloads
1.0-136 years ago(revision: 2)1,113 downloads
1.0-126 years ago106 downloads
1.0-116 years ago34 downloads
1.0-17 years ago5,337 downloads
0.1-18 years ago(revision: 2)98 downloads

Dependencies

lua >= 5.1

Dependency for

copas-ev, layeredata, layeredata, petrisport

Manifests