Add draft for euph room connection

This commit is contained in:
Joscha 2022-06-21 00:51:41 +02:00
parent a57e15c9f3
commit 21010fc48a
5 changed files with 167 additions and 15 deletions

View file

@ -1,14 +1,5 @@
mod api;
use std::convert::Infallible;
use tokio::sync::{mpsc, oneshot};
mod room;
pub use api::{Message, SessionView, Snowflake, Time, UserId};
enum Request {}
pub struct EuphRoom {
canary: oneshot::Sender<Infallible>,
tx: mpsc::Sender<Request>,
}
pub use room::Room;