mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
fix(lua): add type hints for poll_callback
This commit is contained in:
parent
c1c9902b45
commit
5ca3fe52d7
1 changed files with 5 additions and 0 deletions
5
dist/lua/annotations.lua
vendored
5
dist/lua/annotations.lua
vendored
|
@ -307,6 +307,11 @@ local Codemp = {}
|
|||
---connect to codemp server, authenticate and return client
|
||||
function Codemp.connect(host, username, password) end
|
||||
|
||||
---@return function | nil
|
||||
---@nodiscard
|
||||
---check if codemp thread sent a callback to be run on main thread
|
||||
function Codemp.poll_callback() end
|
||||
|
||||
---@param data string
|
||||
---@return integer
|
||||
---use xxh3 hash, returns an i64 from any string
|
||||
|
|
Loading…
Reference in a new issue