Interface PDFPromise

Hierarchy

Index

Methods

Methods

public isRejected(): boolean

Returns

boolean

public isResolved(): boolean

Returns

boolean

public reject(reason: string)

Parameters

  • reason: string

public resolve(value: T in PDFPromise<T>)

Parameters

  • value: T in PDFPromise<T>

public then(onResolve: (promise: T) => void, onReject?: (reason: string) => void): PDFPromise

Parameters

  • onResolve: (promise: T) => void
  • onReject?: (reason: string) => void optional

Returns

PDFPromise