mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Glue message queue onto ServeSession, simplify some HTTP
This commit is contained in:
parent
bb6ab74c19
commit
57d46287d7
6 changed files with 87 additions and 37 deletions
|
|
@ -77,7 +77,7 @@ impl<T: Clone> MessageQueue<T> {
|
|||
message_listeners.push(listener);
|
||||
}
|
||||
|
||||
pub fn get_message_cursor(&self) -> u32 {
|
||||
pub fn cursor(&self) -> u32 {
|
||||
self.messages.read().unwrap().len() as u32
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue