def METHOD_NAME(api, request, process_id, index, processes_out):
    headers, http_status, response = api.execute_process(request, process_id)
    processes_out[index] = {"headers": headers, "http_status": http_status,
                            "response": response}