(&self, session_id: &str, message: RoundInjection)
| 528 | |
| 529 | impl SessionRoundInjectionBuffer { |
| 530 | pub fn push(&self, session_id: &str, message: RoundInjection) { |
| 531 | self.inner |
| 532 | .entry(session_id.to_string()) |
| 533 | .or_default() |
| 534 | .push(message); |
| 535 | } |
| 536 | |
| 537 | /// Drain all messages eligible for the currently running turn. Exact-turn |
| 538 | /// injections that target a different turn are retained until the targeted |
no outgoing calls