CoreRabbit
CoreRabbit
DDeno
Created by CoreRabbit on 4/16/2024 in #help
How do I see which ops are registered?
Found documentation comment
/// Create a synthetic module - `ext:core/ops` - that exports all ops registered
+ /// with the runtime.
+ fn execute_virtual_ops_module(
/// Create a synthetic module - `ext:core/ops` - that exports all ops registered
+ /// with the runtime.
+ fn execute_virtual_ops_module(
When I read this it make me believe that all of the extensions I register will be merged together into ext:core/ops. This makes me think I have to write JS bootstrap script that imports the op and assigns it onto globalThis for every single extension?
5 replies
DDeno
Created by CoreRabbit on 4/16/2024 in #help
How do I see which ops are registered?
I found where ext:core/ops comes from. VIRTUAL_OPS_MODULE_NAME in deno_core/core/runtime/jsruntime.rs
5 replies