Skip to content

Commit

Permalink
- Test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ParticleG committed Oct 31, 2024
1 parent 7d5910e commit 387a2e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Zframework/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ if JS then
]]
), function(data) print("In callback: " .. data); res=data end)
repeat
love.timer.sleep(0.1)
JS.retrieveData(0.1)
love.timer.sleep(0.2)
JS.retrieveData(0.2)
until res
return res
end
Expand Down

0 comments on commit 387a2e8

Please sign in to comment.