entities(for:)
Retrieves instances by identifier.
Declaration
func entities(for identifiers: [Self.Entity.ID]) async throws -> [Self.Entity]Parameters
- identifiers:
An array of entity identifiers.
Mentioned in
Discussion
The system skips identifiers that have no matching entity, so the returned array can have fewer entries than the supplied identifiers.