Implement Runtime and Executor in iced_core

They can be leveraged by shells to easily execute commands
and track subscriptions.
This commit is contained in:
Héctor Ramón Jiménez 2020-01-19 09:06:48 +01:00
parent 32f7ca261f
commit d50ff9b5d9
5 changed files with 97 additions and 4 deletions

View file

@ -44,3 +44,9 @@ pub mod subscription;
#[cfg(feature = "subscription")]
pub use subscription::Subscription;
#[cfg(feature = "runtime")]
mod runtime;
#[cfg(feature = "runtime")]
pub use runtime::Runtime;