toilpromise.py 文件源码

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

项目:hgvm-builder 作者: BD2KGenomics 项目源码 文件源码
def set_then_handler(self, then_handler):
        """
        Set the then handler for this promise. When the prev promise resolves,
        the then handler will be called with the result.

        """

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


问题


面经


文章

微信
公众号

扫码关注公众号