mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -05:00
refactor: Remove depreated Worker::execute_module (#12203)
This commit is contained in:
parent
da25bbff88
commit
80a9a37df1
2 changed files with 0 additions and 22 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue