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

Method set_blocking

crates/openshell-core/src/proposals.rs:60–63  ·  view source on GitHub ↗
(enabled: bool)

Source from the content-addressed store, hash-verified

58 }
59
60 pub fn set_blocking(enabled: bool) -> Self {
61 let lock = PROPOSALS_FLAG_LOCK.blocking_lock();
62 Self::with_lock(enabled, lock)
63 }
64
65 fn with_lock(enabled: bool, lock: MutexGuard<'static, ()>) -> Self {
66 let flag = super::AGENT_PROPOSALS_ENABLED

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected