feat: reexport async_task::FallibleTask
Motivation: FallibleTask is part of the public interface of this crate, in that Task::fallible returns FallibleTask. However, in order to name that type, users need to add a direct dependency on async_task and ensure the crates versions are compatible. Reexporting allows crate users to name the type directly.
This commit is contained in:
parent
649bdfda23
commit
df57d9bc98
|
@ -52,7 +52,7 @@ use futures_lite::{future, prelude::*};
|
|||
use slab::Slab;
|
||||
|
||||
#[doc(no_inline)]
|
||||
pub use async_task::Task;
|
||||
pub use async_task::{FallibleTask, Task};
|
||||
|
||||
/// An async executor.
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue