{"size": 1009, "ext": "js", "max_stars_repo_path": "helperFunctions.js", "max_stars_repo_name": "AndroidLollipop/Callbags-ASR-App", "max_stars_repo_stars_event_min_datetime": "2018-08-04T10:50:31.000Z", "max_stars_repo_stars_event_max_datetime": "2018-11-12T16:52:06.000Z", "max_issues_repo_path": "helperFunctions.js", "max_issues_repo_name": "AndroidLollipop/RSI-ASR-App", "max_issues_repo_issues_event_min_datetime": "2020-09-04T20:53:01.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-08T17:35:19.000Z", "max_forks_repo_path": "helperFunctions.js", "max_forks_repo_name": "AndroidLollipop/Callbags-ASR-App", "max_forks_repo_forks_event_min_datetime": "2018-07-27T00:23:43.000Z", "max_forks_repo_forks_event_max_datetime": "2018-07-27T00:23:43.000Z"}
{"max_stars_count": 4, "max_issues_count": 3, "max_forks_count": 1, "avg_line_length": 21.9347826087, "max_line_length": 68, "alphanum_fraction": 0.5807730426}
var reschedule = (time=17) => {
  return new Promise((resolve) => setTimeout(() => resolve(), time))
}
var awaitreschedule = () => {
  var myResolve;
  var myPromise = new Promise((resolve) => myResolve = resolve)
  return [myResolve, myPromise]
}
var conditionalReschedule = async (condition, time=17) => {
  while(condition()){
    await reschedule(time)
  }
}
var flattenList = (list) => {
  var ret = []
  for (i = 0; i < list.length; i++){
    for (j = 0; j < list[i].length; j++){
      ret.push(list[i][j])
    }
  }
  return ret
}
var deepFlattenList = (list) => {
  var ret = []
  for (var i = 0; i < list.length; i++){
    if (typeof list[i] == "object"){
      var rel = deepFlattenList(list[i])
      for (var j = 0; j < rel.length; j++){
        ret.push(rel[j])
      }
    }
    else{
      ret.push(list[i])
    }
  }
  return ret
}
var exports = module.exports = {
  gv : {

  }
}
exports.reschedule = reschedule;
exports.awaitreschedule = awaitreschedule;
exports.flattenList = flattenList;
