async.nvim
async.nvim copied to clipboard
Change assumption in the `wait` function
Make wait
work the next way
local function f(p1, p2, callback) ... end
async.wait(f, p1, p2)
So on call wait
function without first argc
argument, the wait
function will assume, that the number of arguments is equal to number of passed arguments + 1 for callback, that hasn't been passed.