mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 16:00:07 +08:00
15 lines
268 B
Lua
Vendored
15 lines
268 B
Lua
Vendored
local a = require "plenary.async_lib.async"
|
|
local util = require "plenary.async_lib.util"
|
|
|
|
local M = {}
|
|
|
|
M.describe = function(s, func)
|
|
describe(s, util.will_block(a.future(func)))
|
|
end
|
|
|
|
M.it = function(s, func)
|
|
it(s, util.will_block(a.future(func)))
|
|
end
|
|
|
|
return M
|