toilpromise.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:hgvm-builder 作者: BD2KGenomics 项目源码 文件源码
def set_executor(self, executor):
        """
        Set the given function to run in the promise. It will call its first
        argument with its result, or its second argument with an error.
        """

        # Pickle the function and save it
        self.executor_dill = dill.dumps(executor)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号