pub fn run_web_worker(
    worker: WebWorker,
    specifier: ModuleSpecifier,
    maybe_source_code: Option<String>,
    preload_module_cb: Arc<PreloadModuleCb>,
    format_js_error_fn: Option<Arc<FormatJsErrorFn>>
) -> Result<(), AnyError>
Expand description

This function should be called from a thread dedicated to this worker.