Type alias TaskBuilder<TaskGoal, CaseParam, TaskPayload>
TaskBuilder<TaskGoal, CaseParam, TaskPayload>: ((goal,
param,
examples) => PromiseOr<TaskPayload>) Type Parameters
TaskGoal
CaseParam
TaskPayload
Type declaration
- (goal, param, examples): PromiseOr<TaskPayload>
Parameters
goal: TaskGoal
param: CaseParam | undefined
examples: [CaseParam, unknown][]
Returns PromiseOr<TaskPayload>