getAnyReplica

suspend fun getAnyReplica(id: String, common: CommonOptions = CommonOptions.Default, readPreference: ReadPreference = ReadPreference.none()): GetReplicaResult

Like get, but sends the request to all replicas in addition to the active. Returns the result from whichever server node responded quickest.

Throws

DocumentUnretrievableException

if the document could not be retrieved from at least one location.