def METHOD_NAME(self, tasks: list, args: argparse.Namespace):
    results = []
    if args.debug:
        one_result = self.process(tasks[0])
        results.append(one_result)
    else:
        pool = Pool(args.njobs)
        for one_result in tqdm(pool.imap(self.process, tasks), total=len(tasks), ascii=True, disable=args.no_pbar):
            results.append(one_result)
        pool.close()
    return results