summaryrefslogtreecommitdiff
path: root/xmake/core/base/socket.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/base/socket.lua')
-rw-r--r--xmake/core/base/socket.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/socket.lua b/xmake/core/base/socket.lua
index 393edd199..fbe1fea10 100644
--- a/xmake/core/base/socket.lua
+++ b/xmake/core/base/socket.lua
@@ -675,7 +675,7 @@ end
-- wait for socket events
--
-- @param events the events to wait, e.g. socket.EV_RECV, socket.EV_SEND
--- @param timeout the timeout in milliseconds, -1 for infinite
+-- @param timeout the timeout in milliseconds, -1 for infinite, 0 to check without waiting
-- @return the received events, or 0 on timeout
--
function _instance:wait(events, timeout)