mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 20:59:10 +00:00
feat(runtime): Add example for extension with ops (#19204)
Spend quite some time trying to get this working. With proper example would have been a lot faster. So this is pr with the example. I also rearranged examples a little bit to allow for addition of more examples
This commit is contained in:
parent
b1e28b0708
commit
f3193e0e1c
6 changed files with 59 additions and 8 deletions
2
runtime/examples/extension_with_ops/main.js
Normal file
2
runtime/examples/extension_with_ops/main.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
||||
Deno[Deno.internal].core.ops.op_hello("World");
|
Loading…
Add table
Add a link
Reference in a new issue