pub async fn walk_dir_concurrently_with_error_handler<EntryFunc, ErrorFunc, EntryFut, E>(
path: impl AsRef<Path>,
count: usize,
entry_function: EntryFunc,
error_function: ErrorFunc,
) -> Result<Result<(), E>>Expand description
Walk directories concurrently.
If an error occurs you can handle it through error_function.
If an error occurs in error_function it’ll propagate the main function.