promise-async-await

an implementation of Promises/A+ in Lua with async/await support

$ luarocks install promise-async-await

To synchronize the program execution when dealing with asynchronous operations.
This allows to simplify the writing and reading of asynchronous operations compared to callback function.
The async and await functions allows asynchronous/non-blocking functions to be written in a traditional synchronous/blocking style.
You also benefits of the whole Promise API, such as executing multiple parallel promises.

Versions

0.7-11 year ago(revision: 2)2 downloads

Dependencies

lua >= 5.4

Manifests