execute method

Future<K> execute()

Implementation

Future<K> execute() async {
  try {
    K result = await taskList[processCount](transParam);
    processCount += 1;
    return result;
  } on Exception catch (e) {
    processCount = this.taskList.length;
    return await errHandler(transParam, e);
  }
}