Skip to content

Commit 58220c1

Browse files
committed
updated lua type too
1 parent 51474e2 commit 58220c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astra/lua/astra.d.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ end
2020

2121
---Represents an async task
2222
---@class TaskHandler
23-
---@field abort fun() Aborts the running task
24-
---@field await fun() Waits for the task to finish
23+
---@field abort fun(self: TaskHandler) Aborts the running task
24+
---@field await fun(self: TaskHandler) Waits for the task to finish
2525

2626
---Starts a new async task
2727
---@param callback fun() The callback to run the content of the async task

0 commit comments

Comments
 (0)