We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51474e2 commit 58220c1Copy full SHA for 58220c1
astra/lua/astra.d.lua
@@ -20,8 +20,8 @@ end
20
21
---Represents an async task
22
---@class TaskHandler
23
----@field abort fun() Aborts the running task
24
----@field await fun() Waits for the task to finish
+---@field abort fun(self: TaskHandler) Aborts the running task
+---@field await fun(self: TaskHandler) Waits for the task to finish
25
26
---Starts a new async task
27
---@param callback fun() The callback to run the content of the async task
0 commit comments