MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / watch_nodes

Method watch_nodes

gateway/src/kv/mod.rs:660–662  ·  view source on GitHub ↗

Watch for remote node changes

(&self)

Source from the content-addressed store, hash-verified

658
659 /// Watch for remote node changes
660 pub fn watch_nodes(&self) -> watch::Receiver<()> {
661 self.persistent.watch_prefix(keys::NODE_PREFIX)
662 }
663
664 // ==================== Persistence ====================
665

Callers 1

start_wavekv_watch_taskFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected