Struct deno_core::Extension [−][src]
pub struct Extension { /* fields omitted */ }
Implementations
returns JS source code to be loaded into the isolate (either at snapshotting, or at startup). as a vector of a tuple of the file name, and the source code.
Called at JsRuntime startup to initialize ops in the isolate.
Allows setting up the initial op-state of an isolate at startup.
init_middleware lets us middleware op registrations, it’s called before init_ops