//need to keep reference to RetrieveState all on one page...at least that's my current approach
need to keep reference to RetrieveState all on one page...at least that's my current approach
need to keep reference to RetrieveState all on one page ... at least that ' s my current approach
pub fn request_runner(data: &mut RetrieverState) {
    //So we first need to parse our requests
    let request_input = data.requests_input.clone();
    if request_input != "" {
        let parsed_requests = parse_requests(request_input);
        for request in parsed_requests.iter() {
            log_feedback(data, format!("Running request for {}", request));
            run_request(data, request);
        }
    } else {
        log_feedback(data, String::from("There was no input provided to fetch\n"));
    }
}
pub fn request_runner ( data : & mut RetrieverState ) { //So we first need to parse our requests let request_input = data . requests_input . clone ( ) ; if request_input != " " { let parsed_requests = parse_requests ( request_input ) ; for request in parsed_requests . iter ( ) { log_feedback ( data , format ! ( " " request ) ) ; run_request ( data , request ) ; } } else { log_feedback ( data , String :: from ( " \n " ) ) ; } }
need to keep reference to RetrieveState all on one page...at least that's my current approach
need to keep reference to RetrieveState all on one page ... at least that ' s my current approach
data
&mut RetrieverState