Type Alias deno_core::ExtModuleLoaderCb
source · pub type ExtModuleLoaderCb = Box<dyn Fn(&ExtensionFileSource) -> Result<ModuleCodeString, Error>>;
Expand description
Function that can be passed to the ExtModuleLoader
that allows to
transpile sources before passing to V8.
Aliased Type§
struct ExtModuleLoaderCb(/* private fields */);