summaryrefslogtreecommitdiff
path: root/core/lib.rs
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2020-12-03 23:52:55 +0100
committerBert Belder <bertbelder@gmail.com>2020-12-09 15:58:36 +0100
commitb200e6fc3e591f67646832adb9bbf129ee2b2761 (patch)
treeb04c877ee5c66ebcf3b611b2ca5c743d0c7374ec /core/lib.rs
parentb1379b7de3045000c1f4fd76a503b4e639946348 (diff)
core: add plumbing for canceling ops when closing a resource (#8661)
Diffstat (limited to 'core/lib.rs')
-rw-r--r--core/lib.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/lib.rs b/core/lib.rs
index 372cd558e..20ee5a3d5 100644
--- a/core/lib.rs
+++ b/core/lib.rs
@@ -5,6 +5,7 @@ extern crate lazy_static;
#[macro_use]
extern crate log;
+mod async_cancel;
mod async_cell;
mod bindings;
pub mod error;
@@ -28,11 +29,18 @@ pub use serde;
pub use serde_json;
pub use url;
+pub use crate::async_cancel::CancelFuture;
+pub use crate::async_cancel::CancelHandle;
+pub use crate::async_cancel::CancelTryFuture;
+pub use crate::async_cancel::Cancelable;
+pub use crate::async_cancel::Canceled;
+pub use crate::async_cancel::TryCancelable;
pub use crate::async_cell::AsyncMut;
pub use crate::async_cell::AsyncMutFuture;
pub use crate::async_cell::AsyncRef;
pub use crate::async_cell::AsyncRefCell;
pub use crate::async_cell::AsyncRefFuture;
+pub use crate::async_cell::RcLike;
pub use crate::async_cell::RcRef;
pub use crate::flags::v8_set_flags;
pub use crate::module_specifier::ModuleResolutionError;