summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d/library/love.thread.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/love2d/library/love.thread.lua')
-rw-r--r--meta/3rd/love2d/library/love.thread.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/3rd/love2d/library/love.thread.lua b/meta/3rd/love2d/library/love.thread.lua
index 4bcd9c7d..a0568580 100644
--- a/meta/3rd/love2d/library/love.thread.lua
+++ b/meta/3rd/love2d/library/love.thread.lua
@@ -52,7 +52,7 @@ function Channel:clear() end
---
---It waits until a message is in the queue then returns the message value.
---
----@overload fun(timeout: number):any
+---@overload fun(self: love.Channel, timeout: number):any
---@return any value # The contents of the message.
function Channel:demand() end
@@ -111,7 +111,7 @@ function Channel:push(value) end
---
---See Variant for the list of supported types.
---
----@overload fun(value: any, timeout: number):boolean
+---@overload fun(self: love.Channel, value: any, timeout: number):boolean
---@param value any # The contents of the message.
---@return boolean success # Whether the message was successfully supplied (always true).
function Channel:supply(value) end
@@ -141,7 +141,7 @@ function Thread:isRunning() end
---
---Beginning with version 0.9.0, threads can be restarted after they have completed their execution.
---
----@overload fun(arg1: any, arg2: any, ...)
+---@overload fun(self: love.Thread, arg1: any, arg2: any, ...)
function Thread:start() end
---