(&self, client: Arc<ApiClient>)
| 294 | } |
| 295 | |
| 296 | pub fn set_api_client(&self, client: Arc<ApiClient>) { |
| 297 | *self.api_client.write() = Some(client); |
| 298 | } |
| 299 | |
| 300 | pub fn get_api_client(&self) -> Option<Arc<ApiClient>> { |
| 301 | self.api_client.read().clone() |