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

Method clear_cancel_token

core/src/agent_api/runtime_events.rs:184–186  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

182 }
183
184 pub(super) async fn clear_cancel_token(&self) {
185 *self.cancel_token.lock().await = None;
186 }
187
188 /// Returns `true` when the per-run cancellation token (or any parent it
189 /// was derived from, such as the session-level token) has been fired.

Callers 2

completeMethod · 0.80
wrapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected