DenoDDeno
Powered by
ExidexE
Denoβ€’3y agoβ€’
1 reply
Exidex

HandleScope in async op

Is there a way to get v8::HandleScope inside async op
if I add it as
scope: &mut v8::HandleScope<'a>,
scope: &mut v8::HandleScope<'a>,

it errors with following error
195 | #[op]
    | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&mut HandleScope<'_>`
195 | #[op]
    | ^^^^^ the trait `Deserialize<'_>` is not implemented for `&mut HandleScope<'_>`
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Async OP that returns value instead of promise
ExidexEExidex / help
3y ago
Leaking operation op_http_close in tests
SteveSSteve / help
3y ago
async map
leighLleigh / help
3y ago
Using JsRuntime in an async context
kiakoKkiako / help
16mo ago