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

Method dev_task_queue_length

crates/consensus/rpc/src/dev.rs:58–66  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

56 for DevEngineRpc<EngineRpcClient_>
57{
58 async fn dev_task_queue_length(&self) -> RpcResult<usize> {
59 self.engine_client.dev_get_task_queue_length().await.map_err(|_| {
60 jsonrpsee::types::ErrorObjectOwned::owned(
61 ErrorCode::InternalError.code(),
62 "Failed to receive task queue length",
63 None::<()>,
64 )
65 })
66 }
67
68 async fn dev_subscribe_engine_queue_length(
69 &self,

Callers

nothing calls this directly

Calls 3

ownedFunction · 0.85
codeMethod · 0.80

Tested by

no test coverage detected