continue 检查是否继续执行异步函数(宿主对象被销毁时停止执行)
continue
类型: MethodDeclaration
所属类: Flow
定义位置: flow.ts
描述
检查是否继续执行异步函数(宿主对象被销毁时停止执行)
参数 resolve
: Promise异步返回函数
参数
参数名 | 类型 | 描述 | 默认值 |
---|---|---|---|
resolve | () => void | - | - |
返回值
类型: void
源代码
位置: 第 24 行
private continue(resolve: () => void): void {
if (this.verify()) return resolve()
}
文档生成时间:2025/7/7 12:07:06