Skip to main content

parse_files_with

Function parse_files_with 

Source
pub async fn parse_files_with<R: ParseRunner>(
    runner: &R,
    request: ParseRequest,
    limits: ParseLimits,
    scripts: &BTreeMap<String, ScriptRoot>,
) -> Result<Vec<ParsedFile>, ParseError>
Expand description

As parse_files, limits.concurrency files at once, with the files in the order of the request, answering a ScriptOperator’s questions from the script roots scripts (their copies, decision 293) and recording in each file the script roots it asked about (decision 304).

After a failure no new file starts, and those being parsed are finished: their runners end as usual, not by being dropped.

§Errors

As parse_files, the first failure.