summaryrefslogtreecommitdiff
path: root/meta/3rd/luv/library/uv_check_t.lua
diff options
context:
space:
mode:
authorCppCXY <812125110@qq.com>2024-02-22 20:29:13 +0800
committerCppCXY <812125110@qq.com>2024-02-22 20:29:13 +0800
commit9b6df71d97a70ee7179949ef9f15368cbf29dcbd (patch)
treebf7a7e62ed7c164a12bdce437c17262a5235bcec /meta/3rd/luv/library/uv_check_t.lua
parent483fe246b6ae8c25d433aa15e43f04f0e71a74d5 (diff)
parent3e6fd3ce1f2f0528336ded939d776a29bbfaf2eb (diff)
downloadlua-language-server-9b6df71d97a70ee7179949ef9f15368cbf29dcbd.zip
Merge branch 'master' of github.com:CppCXY/lua-language-server
Diffstat (limited to 'meta/3rd/luv/library/uv_check_t.lua')
m---------meta/3rd/luv0
-rw-r--r--meta/3rd/luv/library/uv_check_t.lua29
2 files changed, 0 insertions, 29 deletions
diff --git a/meta/3rd/luv b/meta/3rd/luv
new file mode 160000
+Subproject 3615eb12c94a7cfa7184b8488cf908abb5e94c9
diff --git a/meta/3rd/luv/library/uv_check_t.lua b/meta/3rd/luv/library/uv_check_t.lua
deleted file mode 100644
index 3c131ba9..00000000
--- a/meta/3rd/luv/library/uv_check_t.lua
+++ /dev/null
@@ -1,29 +0,0 @@
----@meta
-
---- Check handles will run the given callback once per loop iteration, right after
---- polling for I/O.
----
---- ```lua
---- local check = uv.new_check()
---- check:start(function()
---- print("After I/O polling")
---- end)
---- ```
----
----@class uv.uv_check_t : uv.uv_handle_t
-local check
-
---- Start the handle with the given callback.
----
----@param callback function
----@return 0|nil success
----@return uv.error.message|nil err
----@return uv.error.name|nil err_name
-function check:start(callback) end
-
---- Stop the handle, the callback will no longer be called.
----
----@return 0|nil success
----@return uv.error.message|nil err
----@return uv.error.name|nil err_name
-function check:stop() end \ No newline at end of file