Exidex
Exidex
DDeno
Created by Exidex on 9/2/2023 in #help
Can extension state have fields that require passing lifetime?
My use case is using zbus Proxy inside of an op. but pretty much every struct in that crate has a a lifetime
4 replies
DDeno
Created by Exidex on 9/2/2023 in #help
Can extension state have fields that require passing lifetime?
ah, GothamState requires static lifetime. so that is a bigger problem. I wonder if it can be worked around somehow.
4 replies
DDeno
Created by Exidex on 7/21/2023 in #help
Reason for "Following modules were not evaluated"
makes sense
7 replies
DDeno
Created by Exidex on 7/23/2023 in #help
Is it possible to import cjs module from es module, both in extension?
👏 converting to esm worked
3 replies
DDeno
Created by Exidex on 7/23/2023 in #help
Is it possible to import cjs module from es module, both in extension?
if not I think I would have to convert cjs to esm somehow
3 replies
DDeno
Created by Exidex on 7/21/2023 in #help
Reason for "Following modules were not evaluated"
so my esm_entry_point file will just import all modules and not do anything in it? seems redundant
7 replies
DDeno
Created by Exidex on 7/21/2023 in #help
Reason for "Following modules were not evaluated"
to elaborate more: why in this case https://github.com/denoland/deno/pull/19125/files it is required to have esm_entry_point?
7 replies
DDeno
Created by Exidex on 7/2/2023 in #help
How do I enqueue_microtask from other thread
oh it doesn't block the event loop from stopping
12 replies
DDeno
Created by Exidex on 7/2/2023 in #help
How do I enqueue_microtask from other thread
how is it better/worse?
12 replies
DDeno
Created by Exidex on 7/2/2023 in #help
How do I enqueue_microtask from other thread
cool, that looks like it could actually work. thanks for the help
12 replies
DDeno
Created by Exidex on 6/25/2023 in #help
HandleScope in async op
Looks like it is not currently possible but there is a possible workaround https://github.com/denoland/deno/issues/15375
2 replies
DDeno
Created by Exidex on 6/11/2023 in #help
Async OP that returns value instead of promise
creating new thread and a runtime seems excessive to be done on each op call
8 replies
DDeno
Created by Exidex on 6/11/2023 in #help
Async OP that returns value instead of promise
I think It depends, if deno has support for something like this it could be async op that deno itself would block on and resolve OR it will be sync op which I would block on inside the op. The problem is I don't know how to get a tokio's runtime into the op with all the ownership rules, or if it is even possible given that the whole deno execution is inside a block_on
8 replies