Skip to content

Commit 8f99419

Browse files
committed
fix: Abort needing itself for task handler
1 parent 95f3afa commit 8f99419

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

β€ŽCargo.lockβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€ŽCargo.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lua-astra"
3-
version = "0.32.2"
3+
version = "0.32.3"
44
authors = ["Elham Aryanpur <elhamaryanpur5@gmail.com>"]
55
description = "πŸ”₯ Blazingly Fast πŸ”₯ web server runtime for Lua"
66
documentation = "https://astra.arkforge.net/docs/latest"

β€Žastra/teal/astra.d.tlβ€Ž

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

99
---Represents an async task
1010
global interface TaskHandler is userdata
11-
abort: function()
12-
await: function()
11+
abort: function(self: TaskHandler)
12+
await: function(self: TaskHandler)
1313
end
1414

1515
local type astra_internal__spawn_task = function(callback: function()): TaskHandler

0 commit comments

Comments
Β (0)