diff options
author | cuobiezi <liujw22@gmail.com> | 2022-07-12 01:02:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 19:02:23 +0200 |
commit | 83818c914b6bd3e0d9323117b760f08d13d295e7 (patch) | |
tree | 14a7f11d301564f5042be4ac1d910e61ffb515b7 /runtime/web_worker.rs | |
parent | 12df9f367926ef73223a0aebd2e4dc0aaec4774e (diff) |
refactor: rename run_basic to run_local (#15068)
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r-- | runtime/web_worker.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index ba2c016cc..83ba380a6 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -5,7 +5,7 @@ use crate::js; use crate::ops; use crate::ops::io::Stdio; use crate::permissions::Permissions; -use crate::tokio_util::run_basic; +use crate::tokio_util::run_local; use crate::worker::FormatJsErrorFn; use crate::BootstrapOptions; use deno_broadcast_channel::InMemoryBroadcastChannel; @@ -733,5 +733,5 @@ pub fn run_web_worker( debug!("Worker thread shuts down {}", &name); result }; - run_basic(fut) + run_local(fut) } |