MCPcopy Create free account
hub / github.com/AI45Lab/Code / forward_event

Method forward_event

core/src/tool_confirmation.rs:115–119  ·  view source on GitHub ↗
(&self, event: AgentEvent)

Source from the content-addressed store, hash-verified

113 }
114
115 async fn forward_event(&self, event: AgentEvent) {
116 if let Some(tx) = self.event_tx {
117 tx.send(event).await.ok();
118 }
119 }
120}
121
122fn action_taken(action: TimeoutAction) -> &'static str {

Callers 2

resolveMethod · 0.80
forward_timeoutMethod · 0.80

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected