抖音开放平台Logo
控制台

Worker.terminate
收藏
我的收藏

结束当前 worker 线程。

语法

Worker.terminate()

参数说明

返回值

Bug & Tip

  • Tip:仅限在主线程 worker 对象上调用。

文档评论

登录后可参与评论