

Apart from allowing users to perform asynchronous io easily, this library also functions as an abstraction for coroutines. Coroutines make it easy to avoid callback hell and allow for easy cooperative concurrency and cancellation. This library is built on native lua coroutines and libuv. Using packer: use "nvim-lua/plenary.nvim"Ī Lua module for asynchronous programming using coroutines. I'm hoping to finish some document generators to provide better documentation for people to use and consume and then at some point we'll stabilize on a few more stable APIs. It should be usable with any recent version of Neovim though.Īt the moment, it is very much in pre-alpha :smile: Expect changes to the way some functions are structured. Note that this library is useless outside of Neovim since it requires Neovim functions. Plenary: full complete entire absolute unqualified. All the lua functions I don't want to write twice.
