code: function getByPID(pid) {
    var workers = get();
    var i;
    var worker;
  
    for (i = 0; i < workers.length; i++) {
      worker = workers[i];
      if (worker.pid === pid) {
        return worker;
      }
    }
    // else return undefined
  }
docs: i hate O(N) lookups, but not hit hard enough to worry about optimizing at this point. freshness is more important