feat(resource/streaming): timeout functions after 20 ticks

This commit is contained in:
Linden
2021-11-17 03:37:59 +11:00
parent 55a857fbf8
commit 6c2658c302
3 changed files with 37 additions and 31 deletions

View File

@@ -1,9 +1,9 @@
-- Creates exports from values assigned to lib.
-- Hacky workaround for Lua Language Server support.
-- Creates exports from values assigned to lib
-- Hacky workaround for Lua Language Server support
--- Alias for `exports['pe-lualib']`
lib = setmetatable({}, {
__newindex = function(self, name, fn)
print('created '..name)
exports(name, fn)
end
})