Closed otgo closed 5 years ago
You would just make a new thread and do your callback from there:
cq:wrap(function() return mycallback(mysocket:read()) end)
I mean something like NodeJS: ex: c:send("text", callbackhere)
That is up to you to build on top of cqueues if you want it.
You would just make a new thread and do your callback from there: