diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-07-08 18:56:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 18:56:53 +0200 |
commit | 27e1b4cb5ac81c5ac2ca5adf78c91fdbef9409e8 (patch) | |
tree | e5dc9610d551663926eceb34a0e4a31b8624b487 /docs/typescript/overview.md | |
parent | 91fe137d7da3cbd1ab1c2cfd963962d964571526 (diff) |
feat(core): return v8::Value from JsRuntime::execute_script (#11129)
This commit changes return type of JsRuntime::execute_script to include
v8::Value returned from evaluation.
When embedding deno_core it is sometimes useful to be able to inspect
script evaluation value without the hoops of adding ops to store the
value on the OpState.
v8::Global<v8::Value> is used so consumers don't have to pass
scope themselves.
Diffstat (limited to 'docs/typescript/overview.md')
0 files changed, 0 insertions, 0 deletions