mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-22 19:08:36 +00:00
refactor(streamingRequest): internal method for request functions
- TS package type inference for request functions. - Type fix for Lua's waitFor callback. - Lua request functions cannot return nil.
This commit is contained in:
1 parent
e3ece4f337
commit
0f0c7a6591
10 files changed
+50
-74
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---Yields the current thread until a non-nil value is returned by the function.
|
||||
---@generic T
|
||||
---@param cb fun(): T
|
||||
---@param cb fun(): T?
|
||||
---@param errMessage string?
|
||||
---@param timeout? number | false Error out after `~x` ms. Defaults to 1000, unless set to `false`.
|
||||
---@return T
|
||||
|
||||
Reference in new issue
Block a user