mirror of
https://github.com/imezx/Warp.git
synced 2025-04-24 07:00:03 +00:00
Update init.luau
This commit is contained in:
parent
ad0cc31ea7
commit
32fd45e010
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ function ClientProcess.insertRequest(Identifier: string, timeout: number, ...: a
|
|||
local cancel = task.delay(timeout, function()
|
||||
task.spawn(yieldThread, nil)
|
||||
end)
|
||||
table.insert(clientRequestQueue[Identifier], { tostring(Key()), function(...: any)
|
||||
table.insert(clientRequestQueue[Identifier], { Key(), function(...: any)
|
||||
if (os.clock() - start) > timeout then return end
|
||||
task.cancel(cancel)
|
||||
task.spawn(yieldThread, ...)
|
||||
|
@ -250,4 +250,4 @@ function ClientProcess.start()
|
|||
end)
|
||||
end
|
||||
|
||||
return ClientProcess
|
||||
return ClientProcess
|
||||
|
|
Loading…
Reference in a new issue