Exidex
Pass JS function to an Op that can be called after the Op ends
Thought of doing that but to invoke it manually you still need a HandleScope, which basically comes from either an op or from JsRuntime which has same restriction.
Either way, I was able to move the filesystem watching into JS which resolved the issue
3 replies
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
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
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