Gets an engine queue length watcher for subscriptions.
(
&self,
)
| 28 | |
| 29 | /// Gets an engine queue length watcher for subscriptions. |
| 30 | async fn engine_queue_length_watcher( |
| 31 | &self, |
| 32 | ) -> Result<tokio::sync::watch::Receiver<usize>, SubscriptionError> { |
| 33 | self.engine_client.dev_subscribe_to_engine_queue_length().await.map_err(|_| SubscriptionError::from("Internal error. Failed to receive engine task receiver query. The engine query handler is likely closed.")) |
| 34 | } |
| 35 | |
| 36 | async fn send_queue_length_update( |
| 37 | sink: &SubscriptionSink, |
no test coverage detected