pub fn load_paths_async<'a, P, I>(
    paths: I,
    config: RecordIndexerConfig,
) -> impl Stream<Item = Result<RecordIndex>>
where
    I: IntoIterator<Item = P>,
    P: Into<Cow<'a, std::path::Path>>,
{
    load_paths_futures(paths, config)
        .then(|fut| fut)
        .try_flatten()
}
/// Load record indexes from file paths.
Load record indexes from file paths.
Load record indexes from file paths .
pub fn load_paths_async<'a, P, I>(
    paths: I,
    config: RecordIndexerConfig,
) -> impl Stream<Item = Result<RecordIndex>>
where
    I: IntoIterator<Item = P>,
    P: Into<Cow<'a, std::path::Path>>,
{
    load_paths_futures(paths, config)
        .then(|fut| fut)
        .try_flatten()
}
pub fn load_paths_async < ' a , P , I > ( paths : I , config : RecordIndexerConfig , ) -> impl Stream < Item = Result < RecordIndex > > where I : IntoIterator < Item = P > , P : Into < Cow < ' a , std :: path :: Path > > , { load_paths_futures ( paths , config ) . then ( | fut | fut ) . try_flatten ( ) }
Load record indexes from file paths.
Load record indexes from file paths .
paths
I
config
RecordIndexerConfig
paths
I
config
RecordIndexerConfig