mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-10 08:23:56 +00:00
fix(client/callback): mark delay as optional
This commit is contained in:
1 parent
61e3ba9904
commit
02d935237d
1 file changed
+2
-2
@@ -67,8 +67,8 @@ lib.callback = setmetatable({}, {
|
||||
})
|
||||
|
||||
---@param event string
|
||||
---@param delay number | false prevent the event from being called for the given time
|
||||
--- Sends an event to the server and halts the current thread until a response is returned.
|
||||
---@param delay? number | false prevent the event from being called for the given time.
|
||||
---Sends an event to the server and halts the current thread until a response is returned.
|
||||
function lib.callback.await(event, delay, ...)
|
||||
return triggerServerCallback(nil, event, delay, false, ...)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user