diff options
Diffstat (limited to 'meta/3rd/OpenResty/library/ngx.lua')
-rw-r--r-- | meta/3rd/OpenResty/library/ngx.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/3rd/OpenResty/library/ngx.lua b/meta/3rd/OpenResty/library/ngx.lua index 60102245..9a35fcc4 100644 --- a/meta/3rd/OpenResty/library/ngx.lua +++ b/meta/3rd/OpenResty/library/ngx.lua @@ -4245,5 +4245,18 @@ ngx.resp = {} ---@return string|'"truncated"' error function ngx.resp.get_headers(max_headers, raw) end +---@alias ngx.thread.arg boolean|number|integer|string|lightuserdata|table + +---@param threadpool string +---@param module_name string +---@param func_name string +---@param arg1? ngx.thread.arg +---@param arg2? ngx.thread.arg +---@param ... ngx.thread.arg +---@return boolean ok +---@return ngx.thread.arg? result_or_error +---@return ... +function ngx.run_worker_thread(threadpool, module_name, func_name, arg1, arg2, ...) +end return ngx |