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

Method set_cancel_token

core/src/agent_api/run_lifecycle.rs:160–162  ·  view source on GitHub ↗
(&self, token: tokio_util::sync::CancellationToken)

Source from the content-addressed store, hash-verified

158 }
159
160 pub(super) async fn set_cancel_token(&self, token: tokio_util::sync::CancellationToken) {
161 self.cleanup.set_cancel_token(token).await;
162 }
163
164 pub(super) async fn complete<E>(
165 self,

Callers 1

startMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected