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

Method queue_length_subscribe

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

Returns a receiver that can be used to listen to engine queue length updates.

(&self)

Source from the content-addressed store, hash-verified

79
80 /// Returns a receiver that can be used to listen to engine queue length updates.
81 pub fn queue_length_subscribe(&self) -> tokio::sync::watch::Receiver<usize> {
82 self.task_queue_length.subscribe()
83 }
84
85 /// Starts a block build directly against the execution layer.
86 pub async fn build(

Callers

nothing calls this directly

Calls 1

subscribeMethod · 0.45

Tested by

no test coverage detected