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-402 years ago128 downloads
1.0-372 years ago18 downloads
1.0-362 years ago13 downloads
1.0-352 years ago9 downloads
1.0-312 years ago13 downloads
1.0-163 years ago1,118 downloads
1.0-143 years ago495 downloads
1.0-133 years ago1,095 downloads
1.0-123 years ago92 downloads
1.0-113 years ago20 downloads
1.0-14 years ago5,307 downloads
0.1-14 years ago84 downloads

Dependencies

lua >= 5.1

Dependency for

copas-ev, layeredata, layeredata, petrisport

Manifests