HandleScope in async op
Is there a way to get v8::HandleScope inside async op
if I add it as
it errors with following error
1 Reply
Looks like it is not currently possible but there is a possible workaround https://github.com/denoland/deno/issues/15375
GitHub
cannot receive
HandleScope
in #[op]
when function is async. · I...Hi! While we can get a scope when the #[op] is not async: #[op(v8)] fn op_my_op(scope: &mut deno_core::v8::HandleScope) { /* OK */ } we can't do the same with async functions: #[op(v8)] asy...