java-bridge
    Preparing search index...

    Type Alias StdoutCallback

    StdoutCallback: (err: Error | null, data?: string) => void

    A callback for any output redirected from stdout/stderr from the java process.

    Type declaration

      • (err: Error | null, data?: string): void
      • Parameters

        • err: Error | null

          an error if the conversion of the output failed. This is null if the output was valid. This will probably never be set.

        • Optionaldata: string

          the data that was converted. This is unset if err is set.

        Returns void