函数:thread.setTimeout 设置协程超时时间

函数名称:设置协程超时时间

函数功能:设置协程超时时间,结束协程

引擎版本:iOS v2.3.9,Android v2.3.4 以上

函数方法

thread.setTimeout(timeout,thread_id)

返回值:无

参数 类型 必填 说明
timeout number 超时时间
thread_id number 协程 ID,如果在协程内,参数省略
Copyright 北京帮你玩科技有限公司 2023 all right reserved,powered by Gitbook该文章修订时间: 2024-03-06 17:50:18

results matching ""

    No results matching ""