code: function Tasks (options) {
    var me = this;
  
    // properties
    this.tasks = {};
    this.options = {
      run: 'auto' // can be 'auto' or 'manual'
    };
    this.executed = false;
  
    // set options
    if (options) {
      this.setOptions(options);
    }
  
    // execute a function on next process tick which will execute the tasks
    // (when configured to be executed automatically)
    if (process && process.nextTick) {
      process.nextTick(function () {
        if (me.options.run == 'auto') {
          me.run();
        }
      });
    }
  }
docs: Buildify tasks
  
  @param {{run: String}} [options]
  @constructor Tasks