.dotfiles/nvim/mason/packages/lua-language-server/libexec/script/meta/bee/thread.lua

34 lines
552 B
Lua
Raw Normal View History

---@meta
---@class bee.thread
local thread = {}
---@param time number
function thread.sleep(time) end
---@param name string
function thread.newchannel(name) end
---@param name string
---@return bee.thread.channel
function thread.channel(name) end
---@param script string
---@return bee.thread.thread
function thread.thread(script) end
---@class bee.thread.channel
local channel = {}
function channel:push(...) end
---@return ...
function channel:pop() end
---@return ...
function channel:bpop() end
---@class bee.thread.thread
return thread