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

Method state

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

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

(&self)

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected