summaryrefslogtreecommitdiff
path: root/core/lib.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-04 20:10:31 -0400
committerGitHub <noreply@github.com>2023-03-05 00:10:31 +0000
commit4894e500cf8c60c2971d186d6a21b994bf36e7d1 (patch)
tree79dabdc836b7485652f85a3a87de47fa57f54fd0 /core/lib.rs
parent19bb23b60a102ff5b0c06e302487a964edd68db1 (diff)
refactor: move TaskQueue from deno_runtime to deno_core (#18016)
This utility is useful in several contexts so it seems reasonable to have it in `deno_core`.
Diffstat (limited to 'core/lib.rs')
-rw-r--r--core/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/lib.rs b/core/lib.rs
index 51a03493d..7ec40e311 100644
--- a/core/lib.rs
+++ b/core/lib.rs
@@ -20,6 +20,7 @@ mod resources;
mod runtime;
pub mod snapshot_util;
mod source_map;
+mod task_queue;
// Re-exports
pub use anyhow;
@@ -116,6 +117,7 @@ pub use crate::runtime::Snapshot;
pub use crate::runtime::V8_WRAPPER_OBJECT_INDEX;
pub use crate::runtime::V8_WRAPPER_TYPE_INDEX;
pub use crate::source_map::SourceMapGetter;
+pub use crate::task_queue::TaskQueue;
pub fn v8_version() -> &'static str {
v8::V8::get_version()