设置计算密集型任务的执行器.

        Parameters:
            executor (futures.Executor): - 函数调用的执行器

def set_executor(self, executor: futures.Executor):
        """设置计算密集型任务的执行器.

        Parameters:
            executor (futures.Executor): - 函数调用的执行器

        """
        self.loop.set_default_executor(executor)
        self._func_executor = executor
        return True