tarlatan
    Preparing search index...

    Function decodePs

    • Decodes a whole listing into its rows, in listing order. A header with no rows decodes to no rows. Fails with ProcessListingUndecodable naming the first line that does not decode, or when the text does not end in a newline or does not start with the header.

      Parameters

      • text: string

      Returns Result<
          readonly {
              command: string;
              pgid: number;
              pid: number;
              startedAt: string;
          }[],
          ProcessListingUndecodable,
      >