MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / take_sender

Method take_sender

crates/openshell-cli/src/auth.rs:237–242  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

235
236impl CallbackServerState {
237 fn take_sender(&self) -> Option<oneshot::Sender<String>> {
238 self.tx
239 .lock()
240 .unwrap_or_else(std::sync::PoisonError::into_inner)
241 .take()
242 }
243}
244
245type CallbackResponse = Response<Full<Bytes>>;

Callers 1

handle_callback_requestFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected