Skip to main content

ReadMany

Type Alias ReadMany 

Source
pub type ReadMany<CTX> = Arc<dyn Fn(CTX, Vec<(ResourceType, String)>) -> BoxFuture<'static, Result<Vec<Resource>, OperationOutcomeError>> + Send + Sync>;
Expand description

Reads the current version of each (type, id) in one round trip, leaving out the keys that don’t resolve. The server backs it with the repository’s batch read, so a run’s patient and group lookups cost one query however many Groups are given.

Aliased Type§

pub struct ReadMany<CTX> { /* private fields */ }