From: Elias Fleckenstein Date: Tue, 14 Dec 2021 17:11:51 +0000 (+0100) Subject: Merge branch 'master' of https://github.com/EliasFleckenstein03/lua_async X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=HEAD;p=lua_async.git Merge branch 'master' of https://github.com/EliasFleckenstein03/lua_async --- 6fcf6209e05410d5ac077ecce6c940197d430c8a diff --cc init.lua index 4de726a,b5cb92e..8449a0f --- a/init.lua +++ b/init.lua @@@ -1,11 -1,5 +1,7 @@@ -lua_async = {} +lua_async = { + poll_functions = {}, +} - if rawget(_G, "require") then - lua_async.socket = require("socket") - end - function lua_async.clock() return lua_async.socket and lua_async.socket.gettime() or os.clock() end