AV6
calling a javascript function and waiting for the promise with `rusty_v8`
this
result
above is giving result.is_promise()
true. which i expect it to. But i do not understand why it is always in pending
scope.perform_microtask_checkpoint();
i tried running this as well.21 replies
calling a javascript function and waiting for the promise with `rusty_v8`
i am using
rusty_v8
. But i am unsure how to handle the event loop here. is it possible to get the value synchronously? or do you have any examples which i can refer to?
i have the result: Local<Value>
which is a promise (result.is_promise
is true).
what i am trying to do is
let value = get_inner_value_synchronously(result)
. is this possible?21 replies