noahcgreen
noahcgreen
If it helps, I've just started a [new project](https://github.com/noahcgreen/WKFileAccess) which uses this framework to add file access to WKWebView. Check it out if you're interested.
I think I've found a workaround by making the task a regular Python coroutine and wrapping it in a Lua one: ``` lua = LuaRuntime() wrap = lua.eval('function(task) return function(...)...
Has there been any work done on this? I'm running into the same issue with coroutines unpredictably segfaulting.
Here's a slightly more minimal reproducing script: ```python from lupa import LuaRuntime class PendingRequest: def __init__(self, callback): self.callback = callback def make_request(callback): return PendingRequest(callback) lua = LuaRuntime() lua.globals().make_request = make_request...
Is there a way to do this at all right now?