mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
feat(runtime): support classic workers for internal testing (#11338)
This commit implements classic workers, but only when the `--enable-testing-features-do-not-use` flag is provided. This change is not user facing. Classic workers are used extensively in WPT tests. The classic workers do not support loading from disk, and do not support TypeScript. Co-authored-by: Luca Casonato <hello@lcas.dev>
This commit is contained in:
parent
d1d2388d7f
commit
ddbb7b83f2
15 changed files with 485 additions and 15 deletions
|
@ -52,7 +52,9 @@ use tokio::sync::mpsc;
|
|||
use tokio_stream::wrappers::ReceiverStream;
|
||||
use tokio_util::io::StreamReader;
|
||||
|
||||
pub use reqwest; // Re-export reqwest
|
||||
// Re-export reqwest and data_url
|
||||
pub use data_url;
|
||||
pub use reqwest;
|
||||
|
||||
pub fn init<P: FetchPermissions + 'static>(
|
||||
user_agent: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue