code: function streamDone() {
      // Make sure only done once
      if (exited) {
        return;
      }
      exited = true;
  
      // Assign to object for reference
      thisTables.guessStream = guess;
  
      // Stop bar
      if (!bar.complete) {
        bar.terminate();
      }
  
      // Set options and start regular process
      thisTables.options.models = {};
      thisTables.options.models[tableName] = columnsToModel(columns, {
        key: thisTables.options.key,
        tableName: tableName,
        dateFormat: thisTables.options.dateFormat,
        datetimeFormat: thisTables.options.datetimeFormat
      });
      thisTables.output.item("Done guessing");
  
      if (thisTables.options.outputConfig) {
        thisTables.outputConfig();
      }
      else {
        thisTables.start();
      }
    }
docs: When done