pub fn objects_unthreaded(
db: &dyn Find,
object_ids: &mut dyn Iterator<Item = Result<ObjectId, Box<dyn Error + Send + Sync + 'static>>>,
objects: &dyn Count,
should_interrupt: &AtomicBool,
input_object_expansion: ObjectExpansion,
) -> Result<(Vec<Count>, Outcome), Error>
Available on crate feature
generate
only.Expand description
Like objects()
but using a single thread only to mostly save on the otherwise required overhead.