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:
Jacob Rothstein 2024-04-11 16:33:17 -07:00 committed by GitHub
parent 649bdfda23
commit df57d9bc98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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.
///