diff options
Diffstat (limited to 'meta/3rd/luv/library/uv_idle_t.lua')
m--------- | meta/3rd/luv | 0 | ||||
-rw-r--r-- | meta/3rd/luv/library/uv_idle_t.lua | 38 |
2 files changed, 0 insertions, 38 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_idle_t.lua b/meta/3rd/luv/library/uv_idle_t.lua deleted file mode 100644 index 22368193..00000000 --- a/meta/3rd/luv/library/uv_idle_t.lua +++ /dev/null @@ -1,38 +0,0 @@ ----@meta - ---- Idle handles will run the given callback once per loop iteration, right before ---- the `uv_prepare_t` handles. ---- ---- **Note**: The notable difference with prepare handles is that when there are ---- active idle handles, the loop will perform a zero timeout poll instead of ---- blocking for I/O. ---- ---- **Warning**: Despite the name, idle handles will get their callbacks called on ---- every loop iteration, not when the loop is actually "idle". ---- ---- ```lua ---- local idle = uv.new_idle() ---- idle:start(function() ---- print("Before I/O polling, no blocking") ---- end) ---- ``` ---- ----@class uv.uv_idle_t : uv.uv_handle_t ---- -local idle - ---- 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 idle:start(callback) end - ---- Stop the handle, the callback will no longer be called. ---- ----@param check any ----@return 0|nil success ----@return uv.error.message|nil err ----@return uv.error.name|nil err_name -function idle:stop(check) end
\ No newline at end of file |