Type alias ProcessorPro<T, R, N>

ProcessorPro<T, R, N>: ((job, token?) => Promise<R>)

Type Parameters

  • T = any
  • R = any
  • N extends string = string

Type declaration

    • (job, token?): Promise<R>
    • Parameters

      Returns Promise<R>