mod builder;
mod connector;
mod controller;
mod state_watcher;
mod stream;
mod traits;
pub use builder::ComponentBuilder;
pub use connector::Connector;
pub use controller::{ComponentController, Controller};
pub use state_watcher::StateWatcher;
pub use stream::ComponentStream;
pub use traits::{Component, SimpleComponent};
use std::future::Future;
use std::pin::Pin;
pub type CommandFuture = Pin<Box<dyn Future<Output = ()> + Send>>;
#[derive(Debug)]
pub struct ComponentParts<C: Component> {
pub model: C,
pub widgets: C::Widgets,
}