MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / resume

Method resume

crates/opencode-session/src/prompt.rs:738–741  ·  view source on GitHub ↗
(&self, session_id: &str)

Source from the content-addressed store, hash-verified

736 }
737
738 async fn resume(&self, session_id: &str) -> Option<CancellationToken> {
739 let state = self.state.lock().await;
740 state.get(session_id).map(|s| s.cancel_token.clone())
741 }
742
743 pub async fn is_running(&self, session_id: &str) -> bool {
744 let state = self.state.lock().await;

Callers 2

mainFunction · 0.80
resume_sessionMethod · 0.80

Calls 2

getMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected