mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Turn messages into stub SubscribeMessage struct
This commit is contained in:
parent
a46d467b75
commit
bd33aebc3d
5 changed files with 28 additions and 12 deletions
|
|
@ -8,6 +8,7 @@ use crate::{
|
|||
message_queue::MessageQueue,
|
||||
project::Project,
|
||||
session_id::SessionId,
|
||||
snapshot::AppliedPatchSet,
|
||||
snapshot::RojoTree,
|
||||
};
|
||||
|
||||
|
|
@ -16,7 +17,7 @@ pub struct ServeSession<F> {
|
|||
root_project: Option<Project>,
|
||||
session_id: SessionId,
|
||||
tree: Mutex<RojoTree>,
|
||||
message_queue: MessageQueue<()>, // TODO: Real message type
|
||||
message_queue: MessageQueue<AppliedPatchSet>,
|
||||
imfs: Imfs<F>,
|
||||
}
|
||||
|
||||
|
|
@ -42,7 +43,7 @@ impl<F: ImfsFetcher> ServeSession<F> {
|
|||
&self.imfs
|
||||
}
|
||||
|
||||
pub fn message_queue(&self) -> &MessageQueue<()> {
|
||||
pub fn message_queue(&self) -> &MessageQueue<AppliedPatchSet> {
|
||||
&self.message_queue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue