(session: &AgentSession)
| 15 | use tokio::task::JoinHandle; |
| 16 | |
| 17 | fn bail_if_closed(session: &AgentSession) -> Result<()> { |
| 18 | if session.is_closed() { |
| 19 | return Err(CodeError::SessionClosed { |
| 20 | session_id: session.session_id.clone(), |
| 21 | }); |
| 22 | } |
| 23 | Ok(()) |
| 24 | } |
| 25 | |
| 26 | pub(super) async fn send( |
| 27 | session: &AgentSession, |
no test coverage detected