Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExifToolTask<T>

Type parameters

  • T

Hierarchy

Index

Constructors

constructor

Properties

args

args: string[]

command

command: string

errors

errors: string[] = []

parser

parser: Parser<T>

pending

pending: boolean

promise

promise: Promise<T>
returns

the resolution or rejection of this task.

state

state: string

stderr

stderr: string

stdout

stdout: string

Methods

addError

  • addError(err: string): void

onStderr

  • onStderr(buf: string | Buffer): void
  • Parameters

    • buf: string | Buffer

    Returns void

onStdout

  • onStdout(buf: string | Buffer): void
  • Parameters

    • buf: string | Buffer

    Returns void

reject

  • reject(error: Error, source?: undefined | string): void
  • This is for use by BatchProcess only, and will only be called when the process has errored after N retries

    Parameters

    • error: Error
    • Optional source: undefined | string

    Returns void

resolve

  • resolve(result: string, stderr: string): void
  • This is for use by BatchProcess only, and will only be called when the process is complete for this task's command

    Parameters

    • result: string
    • stderr: string

    Returns void

toString

  • toString(): string
  • Returns string

Static renderCommand

  • renderCommand(args: string[]): string

Generated using TypeDoc