MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / handle

Method handle

nodedb/src/control/shutdown/bus.rs:337–342  ·  view source on GitHub ↗

Subscribe a new `ShutdownHandle`.

(&self)

Source from the content-addressed store, hash-verified

335
336 /// Subscribe a new `ShutdownHandle`.
337 pub fn handle(&self) -> ShutdownHandle {
338 ShutdownHandle {
339 phase_rx: self.phase_tx.subscribe(),
340 flat_watch: Arc::clone(&self.flat_watch),
341 }
342 }
343}
344
345impl ShutdownHandle {

Callers 8

mainFunction · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
run_with_listenerFunction · 0.45
runFunction · 0.45

Calls 1

subscribeMethod · 0.45

Tested by

no test coverage detected