Type Alias TaskFn<O, T>

TaskFn<O, T>: ((ctx: TaskContext<O>) => T | Promise<T>)

Type Parameters

  • O
  • T = any