MCPcopy Create free account
hub / github.com/base/base / state

Method state

crates/consensus/engine/src/task_queue/core.rs:71–73  ·  view source on GitHub ↗

Returns a reference to the inner [`EngineState`].

(&self)

Source from the content-addressed store, hash-verified

69
70 /// Returns a reference to the inner [`EngineState`].
71 pub const fn state(&self) -> &EngineState {
72 &self.state
73 }
74
75 /// Returns a receiver that can be used to listen to engine state updates.
76 pub fn state_subscribe(&self) -> tokio::sync::watch::Receiver<EngineState> {

Calls

no outgoing calls

Tested by

no test coverage detected