MCPcopy Index your code
hub / github.com/dreamsofcode-io/chatly / get

Method get

src/state.rs:26–29  ·  view source on GitHub ↗
(&self, room: &String)

Source from the content-addressed store, hash-verified

24 }
25
26 pub async fn get(&self, room: &String) -> Vec<Message> {
27 let messages = self.messages.read().await.get(room).cloned();
28 messages.unwrap_or_default().into_iter().rev().collect()
29 }
30}

Callers 1

on_connectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected