[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: socket module in lanes thread
- From: actryx <actryx@...>
- Date: Wed, 26 Jul 2023 17:32:52 +0000
How do I load the socket module in a lanes thread. I've tried preloading it, like
"""
local socket = lanes.require("socket")
lanes.register("socket", socket)
"""
or specifying it with the gen function, like
"""
task = lanes.gen("socket,math,os", function() ... end)
"""
but none of this works so far. Help appreciated.