MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / abort

Method abort

crates/opencode-util/src/util.rs:274–276  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

272 }
273
274 pub fn abort(&self) {
275 self.cancelled.store(true, Ordering::SeqCst);
276 }
277
278 pub fn is_cancelled(&self) -> bool {
279 self.cancelled.load(Ordering::SeqCst)

Callers 4

handle_pty_websocketFunction · 0.80
delete_sessionMethod · 0.80
run_tuiFunction · 0.80
closeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected