How to use the @brigadecore/brigadier/out/group.Group function in @brigadecore/brigadier

To help you get started, we’ve selected a few @brigadecore/brigadier examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github brigadecore / brigade / brigade-worker / src / brigadier.ts View on Github external
}

  logs(): Promise {
    return this.jr.logs();
  }
}


/**
 * Group describes a collection of associated jobs.
 *
 * A group of jobs can be executed in two ways:
 *   - In parallel as runAll()
 *   - In serial as runEach()
 */
export class Group extends groupImpl.Group {
  // This seems to be how you expose an existing class as an export.
}

/**
 * ErrorReport describes an error in the runtime handling of a Brigade script.
 */
export class ErrorReport {
  /**
   * cause is the BrigadeEvent that caused the error.
   */
  public cause: eventsImpl.BrigadeEvent;
  /**
   * reason is the message that the error reporter received that describes the error.
   *
   * It may be empty if no error description was provided.
   */