Type alias JobHandler<T>

JobHandler<T>: ((ctx, inputData?) => Promise<T>)

Type Parameters

  • T

Type declaration

    • (ctx, inputData?): Promise<T>
    • Parameters

      • ctx: Context
      • Optional inputData: T

      Returns Promise<T>

Generated using TypeDoc