diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-09-23 21:46:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 21:46:22 -0400 |
commit | 80a9a37df1607c4713538c422309801e25024bff (patch) | |
tree | a247772034e6a5a977662e7f7dd59d8164dd9110 | |
parent | da25bbff88c016159105dfb4151f71fa995a9e94 (diff) |
refactor: Remove depreated Worker::execute_module (#12203)
-rw-r--r-- | runtime/web_worker.rs | 11 | ||||
-rw-r--r-- | runtime/worker.rs | 11 |
2 files changed, 0 insertions, 22 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index 07f6facc5..528546e9a 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -505,17 +505,6 @@ impl WebWorker { } } - #[deprecated( - since = "0.26.0", - note = "This method had a bug, marking multiple modules loaded as \"main\". Use `execute_main_module`." - )] - pub async fn execute_module( - &mut self, - module_specifier: &ModuleSpecifier, - ) -> Result<(), AnyError> { - self.execute_main_module(module_specifier).await - } - pub fn poll_event_loop( &mut self, cx: &mut Context, diff --git a/runtime/worker.rs b/runtime/worker.rs index 54b8a8d68..5cfd30dd1 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -264,17 +264,6 @@ impl MainWorker { self.evaluate_module(id).await } - #[deprecated( - since = "0.26.0", - note = "This method had a bug, marking multiple modules loaded as \"main\". Use `execute_main_module` or `execute_side_module` instead." - )] - pub async fn execute_module( - &mut self, - module_specifier: &ModuleSpecifier, - ) -> Result<(), AnyError> { - self.execute_main_module(module_specifier).await - } - fn wait_for_inspector_session(&mut self) { if self.should_break_on_first_statement { self |