mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 07:14:50 +01:00
chore(lua): update annotations
This commit is contained in:
parent
8296b473bb
commit
c879d93452
1 changed files with 2 additions and 2 deletions
4
dist/lua/annotations.lua
vendored
4
dist/lua/annotations.lua
vendored
|
@ -313,13 +313,13 @@ function Codemp.connect(host, username, password) end
|
|||
function Codemp.hash(data) end
|
||||
|
||||
---@class (exact) RuntimeDriver
|
||||
---@field stop fun(): boolean stops the runtime thread without deleting the runtime itself, returns false if driver was already stopped
|
||||
---@field stop fun(self: RuntimeDriver): boolean stops the runtime thread without deleting the runtime itself, returns false if driver was already stopped
|
||||
|
||||
---@return RuntimeDriver
|
||||
---spawns a background thread and uses it to run the codemp runtime
|
||||
function Codemp.spawn_runtime_driver() end
|
||||
|
||||
---@param printer string | fun(string) log sink used for printing, if string will go to file, otherwise use given function
|
||||
---@param printer? string | fun(string) log sink used for printing, if string will go to file, otherwise use given function
|
||||
---@param debug boolean? show more verbose debug logs, default false
|
||||
---@return boolean true if logger was setup correctly, false otherwise
|
||||
---setup a global logger for codemp, note that can only be done once
|
||||
|
|
Loading…
Reference in a new issue