Got frontend to make a validate request.
All checks were successful
MoreThanText/morethantext/pipeline/head This commit looks good

This commit is contained in:
2025-02-27 00:02:03 -05:00
parent 9d30dab87d
commit b761791044
4 changed files with 251 additions and 3 deletions

View File

@ -1,10 +1,12 @@
mod client;
mod data;
mod error;
mod frontend;
mod message;
mod queue;
mod router;
mod session;
mod session2;
use client::{Client, ClientMsg};
use message::{Message, MsgData};
@ -446,6 +448,7 @@ mod test_message {
/// Application client to MoreThanText
pub struct MoreThanText {
// tx: Sender<Message>,
session: Option<SessionData>,
tx: Sender<Message>,
}
@ -461,6 +464,11 @@ impl MoreThanText {
/// MoreThanText::new();
/// ```
pub fn new() -> Self {
/* Future code.
* tx = Queue::start();
* tx.send(Session::start().into()).unwrap();
* Self { tx: tx }
*/
let (tx, rx) = channel();
let mut senders = Vec::new();
senders.push(Client::start(tx.clone()));