refactor(imports/streaming): use coroutine.isyieldable

This commit is contained in:
Linden committed 2023-05-25 14:56:56 +10:00
1 parent 9efcde0351
commit a8ab102bae
7 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ function lib.requestModel(model, timeout)
RequestModel(model)
if coroutine.running() then
if coroutine.isyieldable() then
timeout = tonumber(timeout) or 500
for _ = 1, timeout do