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

Method watch_instances

gateway/src/kv/mod.rs:655–657  ·  view source on GitHub ↗

Watch for remote instance changes (for updating local ProxyState)

(&self)

Source from the content-addressed store, hash-verified

653
654 /// Watch for remote instance changes (for updating local ProxyState)
655 pub fn watch_instances(&self) -> watch::Receiver<()> {
656 self.persistent.watch_prefix(keys::INST_PREFIX)
657 }
658
659 /// Watch for remote node changes
660 pub fn watch_nodes(&self) -> watch::Receiver<()> {

Callers 1

start_wavekv_watch_taskFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected