Get multiple keys with linearizable consistency. Reads multiple keys from the Leader with strong consistency guarantee. # Example ```ignore let keys = vec![Bytes::from("key1"), Bytes::from("key2")]; let values = client.get_multi_linearizable(&keys).await?; ```
(
&self,
keys: &[Bytes],
)
| 334 | /// let values = client.get_multi_linearizable(&keys).await?; |
| 335 | /// ``` |
| 336 | pub async fn get_multi_linearizable( |
| 337 | &self, |
| 338 | keys: &[Bytes], |
| 339 | ) -> ClientApiResult<Vec<Option<Bytes>>> { |
| 340 | self.get_multi_with_consistency(keys, ReadConsistencyPolicy::LinearizableRead) |
| 341 | .await |
| 342 | } |
| 343 | |
| 344 | /// Get multiple keys with eventual consistency. |
| 345 | /// |