Create a `StatementLoggingFrontend` for use by frontend peek sequencing. This provides the frontend with all the state it needs to perform statement logging without direct access to the Coordinator.
(
&self,
build_info_human_version: String,
)
| 100 | /// This provides the frontend with all the state it needs to perform statement |
| 101 | /// logging without direct access to the Coordinator. |
| 102 | pub(crate) fn create_frontend( |
| 103 | &self, |
| 104 | build_info_human_version: String, |
| 105 | ) -> StatementLoggingFrontend { |
| 106 | StatementLoggingFrontend { |
| 107 | throttling_state: Arc::clone(&self.throttling_state), |
| 108 | reproducible_rng: Arc::clone(&self.reproducible_rng), |
| 109 | build_info_human_version, |
| 110 | now: self.now.clone(), |
| 111 | } |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | impl Coordinator { |
no test coverage detected