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

Method wait_until_polled

crates/openshell-server/src/readiness.rs:149–155  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

147 /// call this before constructing the router.
148 #[cfg(test)]
149 pub(crate) async fn wait_until_polled(&mut self) {
150 while matches!(*self.receiver.borrow(), HealthState::Initializing) {
151 if self.receiver.changed().await.is_err() {
152 return;
153 }
154 }
155 }
156}
157
158async fn monitor_loop(

Calls

no outgoing calls

Tested by

no test coverage detected