mod command;
mod error;
mod event;
mod message;
pub mod access_token;
use tokio::sync::mpsc;
pub(crate) use command::*;
pub use {access_token::AccessToken, error::*, event::*, message::*};
pub(crate) type InactiveEventReceiver<Msg> =
async_broadcast::InactiveReceiver<CometdClientEvent<Msg>>;
#[allow(missing_docs)]
pub type EventReceiver<Msg> = async_broadcast::Receiver<CometdClientEvent<Msg>>;
pub(crate) type EventSender<Msg> = async_broadcast::Sender<CometdClientEvent<Msg>>;
pub(crate) type CmdReceiver = mpsc::Receiver<Command>;
pub(crate) type CmdSender = mpsc::Sender<Command>;