Introduce Task::abortable 🎉
This commit is contained in:
parent
8efe161e3d
commit
47f9554a82
2 changed files with 44 additions and 1 deletions
|
|
@ -202,9 +202,14 @@ pub use crate::core::{
|
|||
Length, Padding, Pixels, Point, Radians, Rectangle, Rotation, Shadow, Size,
|
||||
Theme, Transformation, Vector,
|
||||
};
|
||||
pub use crate::runtime::{exit, Task};
|
||||
pub use crate::runtime::exit;
|
||||
pub use iced_futures::Subscription;
|
||||
|
||||
pub mod task {
|
||||
//! Create runtime tasks.
|
||||
pub use crate::runtime::task::{Handle, Task};
|
||||
}
|
||||
|
||||
pub mod clipboard {
|
||||
//! Access the clipboard.
|
||||
pub use crate::runtime::clipboard::{
|
||||
|
|
@ -309,6 +314,7 @@ pub use executor::Executor;
|
|||
pub use font::Font;
|
||||
pub use renderer::Renderer;
|
||||
pub use settings::Settings;
|
||||
pub use task::Task;
|
||||
|
||||
#[doc(inline)]
|
||||
pub use application::application;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue