mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-26 00:00:16 +02:00
implement spawn_with_handle in tokio_executor (#1492)
This code directly relies on `future-preview`'s `RemoteHandle`, and exposes it via a `spawn_with_handle` method that is identical to `future-preview`'s implementation. Related: #1180
This commit is contained in:
@@ -81,3 +81,4 @@ pub use crate::error::SpawnError;
|
||||
pub use crate::executor::Executor;
|
||||
pub use crate::global::{spawn, with_default, DefaultExecutor};
|
||||
pub use crate::typed::TypedExecutor;
|
||||
pub use futures_util::future::RemoteHandle;
|
||||
|
||||
Reference in New Issue
Block a user