aboutsummaryrefslogtreecommitdiff
path: root/tests/h.lua
blob: 0a0cfdd01f71f31a303aa66721ebc2fb7462a44f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require "llib"

local th = llib.thread.async(function (res)
    _G.llib.io.pprint(res)
    _G.llib.io.pprint({aa=45})
    res:res(_G.llib.crypto.md5())
    print("after")
end)

os.execute("sleep 1")

print("out:")
a = th:res();
print((a + "hi"):final())

while true do end