mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
e5beb800c9
This commit moves implementation of "JsRuntimeInspector" to "deno_core" crate. To achieve that following changes were made: * "Worker" and "WebWorker" no longer own instance of "JsRuntimeInspector", instead it is now owned by "deno_core::JsRuntime". * Consequently polling of inspector is no longer done in "Worker"/"WebWorker", instead it's done in "deno_core::JsRuntime::poll_event_loop". * "deno_core::JsRuntime::poll_event_loop" and "deno_core::JsRuntime::run_event_loop", now accept "wait_for_inspector" boolean that tells if event loop should still be "pending" if there are active inspector sessions - this change fixes the problem that inspector disconnects from the frontend and process exits once the code has stopped executing.
27 lines
555 B
Rust
27 lines
555 B
Rust
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
|
|
|
pub use deno_broadcast_channel;
|
|
pub use deno_console;
|
|
pub use deno_crypto;
|
|
pub use deno_fetch;
|
|
pub use deno_file;
|
|
pub use deno_timers;
|
|
pub use deno_url;
|
|
pub use deno_web;
|
|
pub use deno_webgpu;
|
|
pub use deno_webidl;
|
|
pub use deno_websocket;
|
|
pub use deno_webstorage;
|
|
|
|
pub mod colors;
|
|
pub mod errors;
|
|
pub mod fs_util;
|
|
pub mod inspector_server;
|
|
pub mod js;
|
|
pub mod metrics;
|
|
pub mod ops;
|
|
pub mod permissions;
|
|
pub mod resolve_addr;
|
|
pub mod tokio_util;
|
|
pub mod web_worker;
|
|
pub mod worker;
|