summaryrefslogtreecommitdiff
path: root/script/pub/pub.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/pub/pub.lua')
-rw-r--r--script/pub/pub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/pub/pub.lua b/script/pub/pub.lua
index e73aea51..47591ee6 100644
--- a/script/pub/pub.lua
+++ b/script/pub/pub.lua
@@ -124,7 +124,7 @@ end
--- 通过 jumpQueue 可以插队
---@param name string
---@param params any
----@param callback function
+---@param callback? function
function m.task(name, params, callback)
local info = {
id = counter(),