Function deno_simple_runtime::web_worker::run_web_worker
source · [−]pub fn run_web_worker(
worker: WebWorker,
specifier: ModuleSpecifier,
maybe_source_code: Option<String>,
preload_module_cb: Arc<PreloadModuleCb>
) -> Result<(), AnyError>
Expand description
This function should be called from a thread dedicated to this worker.