Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Parser<T>

Parser implementations convert stdout and stderr from the underlying child process to a more useable format. This can be a no-op passthrough if no parsing is necessary.

Type parameters

  • T

Hierarchy

  • Parser

Callable

  • __call(stdout: string, stderr: string | undefined): T
  • Invoked once per task.

    throws

    an error if the Parser implementation wants to reject the task. It is valid to raise Errors if stderr is undefined.

    Parameters

    • stdout: string

      the concatenated stream from stdin, stripped of the "PASS" or "FAIL" tokens.

    • stderr: string | undefined

      if defined, includes all text emitted to stderr.

    Returns T

Generated using TypeDoc