0
0
Fork 0
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:
Ryan Dahl 2021-09-23 21:46:22 -04:00 committed by GitHub
parent da25bbff88
commit 80a9a37df1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 22 deletions

View file

@ -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,

View file

@ -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