Clone the shared [`FlashblocksState`] handle.
(&self)
| 68 | impl FlashblocksParts { |
| 69 | /// Clone the shared [`FlashblocksState`] handle. |
| 70 | pub fn state(&self) -> Arc<FlashblocksState> { |
| 71 | Arc::clone(&self.state) |
| 72 | } |
| 73 | |
| 74 | /// Send a flashblock to the background processor and wait until it is handled. |
| 75 | pub async fn send(&self, flashblock: Flashblock) -> Result<()> { |
no outgoing calls
no test coverage detected