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

Method current_phase

nodedb/src/control/startup/gate.rs:138–140  ·  view source on GitHub ↗

Non-blocking snapshot of the current phase.

(&self)

Source from the content-addressed store, hash-verified

136
137 /// Non-blocking snapshot of the current phase.
138 pub fn current_phase(&self) -> StartupPhase {
139 self.rx.borrow().phase
140 }
141
142 /// Non-blocking check for failure. Returns the stored error if the
143 /// sequencer has entered `Failed`, or `None` if startup is still

Callers 3

observeFunction · 0.45
idempotent_double_fireFunction · 0.45
startup_gate_middlewareFunction · 0.45

Calls 1

borrowMethod · 0.80

Tested by 1

idempotent_double_fireFunction · 0.36